increase worker timeout for Raspberry Pi

This commit is contained in:
jonaswinkler 2021-02-04 15:46:51 +01:00
parent d8e0ef257e
commit 5718f50c4f

View File

@ -1,7 +1,7 @@
bind = '0.0.0.0:8000'
workers = 2
worker_class = 'uvicorn.workers.UvicornWorker'
timeout = 20
timeout = 60
def pre_fork(server, worker):
pass