如何防止Heroku“使用SIGTERM停止所有进程”?

时间:2018-06-20 22:31:24

标签: ruby-on-rails heroku

我正在尝试在适用于我的系统(Ubuntu WLS)的Heroku上运行Rails应用程序。没用从日志中:

State changed from starting to up
2018-06-20T21:51:35.990522+00:00 heroku[web.1]: Idling
2018-06-20T21:51:35.992799+00:00 heroku[web.1]: State changed from up to down
2018-06-20T21:51:36.861427+00:00 app[web.1]: - Gracefully stopping, waiting for requests to finish
2018-06-20T21:51:36.862636+00:00 app[web.1]: === puma shutdown: 2018-06-20 21:51:36 +0000 ===
2018-06-20T21:51:36.862690+00:00 app[web.1]: - Goodbye!
2018-06-20T21:51:36.862810+00:00 app[web.1]: Exiting
2018-06-20T21:51:36.848883+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2018-06-20T21:51:36.929958+00:00 heroku[web.1]: Process exited with status 143
2018-06-20T21:56:12.542970+00:00 heroku[web.1]: Unidling

完整日志:https://gist.github.com/amadeuspagel/47ae8eef047c5d8b89babf1832bd4895

0 个答案:

没有答案