Answer the question
In order to leave comments, you need to log in
Is it possible to get Heroku to work without regular reboots?
I host my bot on Heroku. This bot must receive the username and password of users and then operate on the data obtained using the username and password, respectively. But Heroku stops the host process after a certain period of time and all received data (written in variables) disappears => the user must log in again. Please tell me how to solve this problem. Thank you for attention.
Answer the question
In order to leave comments, you need to log in
There are a lot of bot writers, but the basics don’t know anything, write not to variables, but to something more permanent: files, databases, etc.
Yes, it's easy to solve this problem - you need to learn how to write 12-factor applications.
In Heroku, in my opinion, there is no other way. If an application does not work correctly after a reboot, then it is not designed correctly.
Plus this:
https://devcenter.heroku.com/changelog-items/344
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question