run app with gunicorn

This commit is contained in:
danijoo
2022-11-27 10:59:54 +01:00
parent baed30754e
commit 233c14ec2d
3 changed files with 20 additions and 5 deletions

8
gunicorn.conf.py Normal file
View File

@@ -0,0 +1,8 @@
loglevel = "info"
errorlog = "-" # stderr
accesslog = "-" # stdout
worker_tmp_dir = "/dev/shm"
graceful_timeout = 120
timeout = 120
keepalive = 5
threads = 4