0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-13 23:41:24 -05:00

📎 Minor changes on background tasks cron expr.

This commit is contained in:
Andrey Antukh 2021-06-02 13:13:25 +02:00
parent 9f034c7e7e
commit 056fce9187

View file

@ -166,25 +166,25 @@
:tasks (ig/ref :app.worker/registry)
:pool (ig/ref :app.db/pool)
:schedule
[{:cron #app/cron "0 0 0 */1 * ? *" ;; daily
[{:cron #app/cron "0 0 0 * * ? *" ;; daily
:task :file-media-gc}
{:cron #app/cron "0 0 */1 * * ?" ;; hourly
{:cron #app/cron "0 0 * * * ?" ;; hourly
:task :file-xlog-gc}
{:cron #app/cron "0 0 1 */1 * ?" ;; daily (1 hour shift)
{:cron #app/cron "0 0 1 * * ?" ;; daily (1 hour shift)
:task :storage-deleted-gc}
{:cron #app/cron "0 0 2 */1 * ?" ;; daily (2 hour shift)
{:cron #app/cron "0 0 2 * * ?" ;; daily (2 hour shift)
:task :storage-touched-gc}
{:cron #app/cron "0 0 3 */1 * ?" ;; daily (3 hour shift)
{:cron #app/cron "0 0 3 * * ?" ;; daily (3 hour shift)
:task :session-gc}
{:cron #app/cron "0 0 */1 * * ?" ;; hourly
{:cron #app/cron "0 0 * * * ?" ;; hourly
:task :storage-recheck}
{:cron #app/cron "0 0 0 */1 * ?" ;; daily
{:cron #app/cron "0 0 0 * * ?" ;; daily
:task :tasks-gc}
(when (cf/get :audit-archive-enabled)