Skip to content
Snippets Groups Projects
Verified Commit 997bc0d1 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

Trigger cleanup faster

Call cleanup of the database faster to allow smaller databases.
parent d4a5b8b7
Branches
Tags 1.5.4
1 merge request!12Trigger cleanup faster
......@@ -343,7 +343,7 @@ def main():
# it's recommended not to touch this, unless you know really well what you're doing
# filling all available space in /var/lib (tmpfs) will probably break your router
hard_limit = int(uci_get('pakon.monitor.database_limit') or 3000000)
run_check = everyN(100000)
run_check = everyN(1000)
while True:
try:
line = data_source.get_message()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment