have to reload cache on mysql restart
#11
I don't know how heavy (in resources) is the script from noyle, but peharps can you transform it into a task, with a check to know if cache must be rewrite or not, and run it regularly.
If you know when your "neighbour" crashes the MySQL, you can easily have a little condition based on the current time to reload (or not) the cache.

Another way could be a bash script checking the status of mysql and running the noyle's script if mysql come back. Depending on the duration of the mysql shutdown, the script could be launched via crontab or be alway in background
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM or Discord
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)