From 128b0cd38cd807fc75837d2ce8279e80b21e3d6f Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Mon, 18 Apr 2016 13:02:30 -0400 Subject: [PATCH] logrotateworker: archive every 24 hours --- workers/logrotateworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers/logrotateworker.py b/workers/logrotateworker.py index 8b5fd2ef7..35f1a4b99 100644 --- a/workers/logrotateworker.py +++ b/workers/logrotateworker.py @@ -23,7 +23,7 @@ STALE_AFTER = timedelta(days=30) MIN_LOGS_PER_ROTATION = 10000 MEMORY_TEMPFILE_SIZE = 12 * 1024 * 1024 -WORKER_FREQUENCY = app.config.get('ACTION_LOG_ROTATION_FREQUENCY', 3600 * 6) +WORKER_FREQUENCY = app.config.get('ACTION_LOG_ROTATION_FREQUENCY', 60 * 60 * 24) SAVE_PATH = app.config.get('ACTION_LOG_ARCHIVE_PATH') SAVE_LOCATION = app.config.get('ACTION_LOG_ARCHIVE_LOCATION')