Minor improvements on telemetry task

This commit is contained in:
Andrey Antukh 2022-02-15 11:06:13 +01:00 committed by Andrés Moya
parent 9b78b2a432
commit ce61b783fb
3 changed files with 39 additions and 6 deletions

View file

@ -176,7 +176,7 @@
:task :file-offload})
(when (contains? cf/flags :audit-log-archive)
{:cron #app/cron "0 */3 * * * ?" ;; every 3m
{:cron #app/cron "0 */5 * * * ?" ;; every 5m
:task :audit-log-archive})
(when (contains? cf/flags :audit-log-gc)
@ -185,7 +185,7 @@
(when (or (contains? cf/flags :telemetry)
(cf/get :telemetry-enabled))
{:cron #app/cron "0 0 */6 * * ?" ;; every 6h
{:cron #app/cron "0 30 */3,23 * * ?"
:task :telemetry})]}
:app.worker/registry