mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 16:11:38 +02:00
✨ Minor improvements on telemetry task
This commit is contained in:
parent
9b78b2a432
commit
ce61b783fb
3 changed files with 39 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue