This patch adds the following improvements to the ZoneMinder clean-up script:
Instead of launching 3 separate mysql commands, we will now use just one that performs the event deletion with a transaction. Even with the transaction mechanism, it is faster than previous way.
Added a progress indicator.
Added an option to truncate the Logs table, preventing it to become too big.
This patch adds the following improvements to the ZoneMinder clean-up script:
mysql
commands, we will now use just one that performs the event deletion with a transaction. Even with the transaction mechanism, it is faster than previous way.Logs
table, preventing it to become too big.