问题
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