代码仓库过大提交不了代码,提示fatal: The remote end hung up unexpectedly
davideuler opened this issue · comments
服务器端日志: [CRITICAL] WORKER TIMEOUT (pid:18477)。
可以通过安装eventlet,使用eventlet作为gunicorn的worker-class来异步处理请求。
pip install eventlet
nohup gunicorn -w 2 -b 0.0.0.0:8001 --worker-class eventlet app:app > nohup.log &
这个问题 在 #22 中有谈到