mirror of
https://github.com/penpot/penpot.git
synced 2025-06-21 21:07:01 +02:00
♻️ Refactor file-media-gc task (mainly add more traces).
This commit is contained in:
parent
9ed01cc0df
commit
4849904b0b
3 changed files with 106 additions and 105 deletions
|
@ -18,7 +18,7 @@
|
|||
[app.tasks.maintenance]
|
||||
[app.tasks.remove-media]
|
||||
[app.tasks.sendmail]
|
||||
[app.tasks.trim-file]
|
||||
[app.tasks.file-media-gc]
|
||||
[app.util.async :as aa]
|
||||
[app.util.time :as dt]
|
||||
[clojure.core.async :as a]
|
||||
|
@ -52,9 +52,9 @@
|
|||
:cron #app/cron "0 0 0 */1 * ? *" ;; daily
|
||||
:fn #'app.tasks.remove-media/trim-media-storage}
|
||||
|
||||
{:id "trim-file"
|
||||
{:id "file-media-gc"
|
||||
:cron #app/cron "0 0 0 */1 * ? *" ;; daily
|
||||
:fn #'app.tasks.trim-file/handler}
|
||||
:fn #'app.tasks.file-media-gc/handler}
|
||||
|
||||
{:id "maintenance/delete-executed-tasks"
|
||||
:cron #app/cron "0 0 0 */1 * ?" ;; daily
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue