Gunicorn workers timeout no matter what

后端 未结 2 1397
[愿得一人]
[愿得一人] 2021-02-13 10:27

I\'m trying to run a simple flask app through gunicorn, but having my workers timeout no matter what I do. Whether there\'s activity against the app or not, workers will always

2条回答
  •  甜味超标
    2021-02-13 11:14

    Usually worker timeout will happen if the request take more time. Try add new parameter called --timeout it should work.

    ex: gunicorn test_app.py -b 127.0.0.1:8000 --log-level=debug --log-file /tmp/log -t 900

提交回复
热议问题