add treads to systemd file

This commit is contained in:
Hugh Rundle 2023-08-20 07:36:34 +10:00
parent 5ea4a8763c
commit 157648f23d
No known key found for this signature in database
GPG key ID: A7E35779918253F9

View file

@ -6,7 +6,7 @@ After=network.target postgresql.service redis.service
User=bookwyrm
Group=bookwyrm
WorkingDirectory=/opt/bookwyrm/
ExecStart=/opt/bookwyrm/venv/bin/gunicorn bookwyrm.wsgi:application --bind 0.0.0.0:8000
ExecStart=/opt/bookwyrm/venv/bin/gunicorn bookwyrm.wsgi:application --threads=2 --bind 0.0.0.0:8000
StandardOutput=journal
StandardError=inherit