Is there a way to prevent cycling from heroku?

你离开我真会死。 提交于 2021-01-29 11:10:57

问题


I want to host my discord bot 24/7, but my bot cycled by heroku every day so it had some downtime. How can I prevent this?


回答1:


Heroku Dynos restart every 24hrs, this is done for all Dynos and you cannot avoid it.

There is the option to preboot web Dynos (redirect traffic during the restart) but it comes only with the more expensive subscriptions.



来源:https://stackoverflow.com/questions/64858860/is-there-a-way-to-prevent-cycling-from-heroku

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!