django app in heroku getting worker timeout error

前端 未结 2 1657
-上瘾入骨i
-上瘾入骨i 2020-12-11 02:18

I have deployed a django app and deployed to Heroku it takes facebook account id\'s as input through CSV file and parses information. it works fine in the local server but I

相关标签:
2条回答
  • 2020-12-11 02:24

    Heroku requests are limited to 30 seconds, if the request take longer than this the router will terminate the request

    You can increase the LOG LEVEL of gunicorn to see if there's some error in your process

    0 讨论(0)
  • 2020-12-11 02:29

    Example of Procfile with timeout increased to 15 sec

    web: gunicorn myproject.wsgi --timeout 15 --keep-alive 5 --log-level debug
    
    0 讨论(0)
提交回复
热议问题