Answer the question
In order to leave comments, you need to log in
How to fix dropping temporary files on Heroku?
I am writing for self-education of a bot in a telegram with a simple game. The bot can give the user the rating of all players.
The data is taken from a separate file with a list of participants and the number of points for each, respectively, during the game, this file is constantly updated at the time of the deployment, I had 70 points; I played and it became 80, it gives it correctly, everything is fine; but the next day I have 70 points again)
I'm not very good at Heroku yet, can I somehow fix this?
PS Deploy the bot via Heroku Git, if that's important
Answer the question
In order to leave comments, you need to log in
store this data somewhere else. memory in Heroku is temporary and they themselves say that if you save something there, you are guaranteed to lose it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question