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')