mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 08:38:15 -05:00
✨ Make all background task execute daily (instead of hourly).
This commit is contained in:
parent
28a2df96ff
commit
0da16c7219
1 changed files with 4 additions and 4 deletions
|
@ -57,14 +57,14 @@
|
||||||
:fn #'app.tasks.trim-file/handler}
|
:fn #'app.tasks.trim-file/handler}
|
||||||
|
|
||||||
{:id "maintenance/delete-executed-tasks"
|
{:id "maintenance/delete-executed-tasks"
|
||||||
:cron #app/cron "0 0 */1 * * ?" ;; hourly
|
:cron #app/cron "0 0 0 */1 * ?" ;; daily
|
||||||
:fn #'app.tasks.maintenance/delete-executed-tasks
|
:fn #'app.tasks.maintenance/delete-executed-tasks
|
||||||
:props {:max-age #app/duration "48h"}}
|
:props {:max-age #app/duration "24h"}}
|
||||||
|
|
||||||
{:id "maintenance/delete-old-files-xlog"
|
{:id "maintenance/delete-old-files-xlog"
|
||||||
:cron #app/cron "0 0 */1 * * ?" ;; hourly
|
:cron #app/cron "0 0 0 */1 * ?" ;; daily
|
||||||
:fn #'app.tasks.maintenance/delete-old-files-xlog
|
:fn #'app.tasks.maintenance/delete-old-files-xlog
|
||||||
:props {:max-age #app/duration "8h"}}
|
:props {:max-age #app/duration "12h"}}
|
||||||
])
|
])
|
||||||
|
|
||||||
(defstate executor
|
(defstate executor
|
||||||
|
|
Loading…
Add table
Reference in a new issue