heroku后台web请求的时间是否会超过30秒?

2024-03-29 13:01:09 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试扩展flaskbase项目https://github.com/hack4impact/flask-base/tree/master/app,它只附带一个用户模型。我添加了在后台运行redis的能力。我找到了https://devcenter.heroku.com/articles/python-rq这很有用。在

然而,尽管将一个长时间的selenium测试任务推送到后台任务,我仍然得到一个服务器错误。检查日志显示:

2018-02-13T16:38:26.784505+00:00 app[web.1]: [2018-02-13 16:38:26 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:9)

所以现在我在想:heroku后台的web请求会不会超过30秒?在


Tags: 项目用户httpsgithubmastercomtreeapp