add python-orjson dependency

python-orjson speeds up a lot of JSON serialization steps,
so we choose to use it over the standard library json module.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-08-08 20:42:00 -07:00
parent 91e769f603
commit 968ed736c1
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 2 additions and 2 deletions

View file

@ -57,7 +57,7 @@ read the instructions below.
(FastAPI-Specific)
# pacman -S redis python-redis python-fakeredis
# pacman -S redis python-redis python-fakeredis python-orjson
# systemctl enable --now redis
5) Create a new MySQL database and a user and import the aurweb SQL schema:

View file

@ -15,6 +15,6 @@ pacman -Syu --noconfirm --noprogressbar \
python-email-validator openssh python-lxml mariadb mariadb-libs \
python-isort flake8 cgit uwsgi uwsgi-plugin-cgi php php-fpm \
python-asgiref uvicorn python-feedgen memcached php-memcached \
python-redis redis python-fakeredis
python-redis redis python-fakeredis python-orjson
exec "$@"