PhantomBot Version: 188.8.131.52
OS Version: Windows/Ubuntu
Java Version: 8
Stock PhantomBot: Yes
Let us know what help you need:
So I was working on a new module for a mate the other day and noticed that the database wasn’t being updated yet the panel was reporting data correctly. I am assuming there is some form of caching going on which i thought would have been resolved by shutting the bot down. However this doesn’t seem to be the case. The DB updates the first couple of times anything is changed, but then seems to stop.
So is this a bug or do I just not understand when and how the bot updates the database? The issue I have is that my mates bot is always on and hosted and need to shut it down for a scheduled maintenance but not sure how old the data in the database is, unsure as to whether it is going to save and he has a lot of points data that we don’t want to risk loosing
Is there anyway to force a database save?