mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 16:37:58 +02:00
🔥 Remove file-xlog-gc task
It is no longer necessary because snapshots are managed by the objects-gc task
This commit is contained in:
parent
fe8d9cf159
commit
1bb25bb89d
4 changed files with 0 additions and 80 deletions
|
@ -223,15 +223,6 @@
|
|||
(let [storage (sto/resolve cfg ::db/reuse-conn true)]
|
||||
(some->> (:data-ref-id file) (sto/touch-object! storage))))
|
||||
|
||||
(-> cfg
|
||||
(assoc ::wrk/task :file-xlog-gc)
|
||||
(assoc ::wrk/label (str "xlog:" (:id file)))
|
||||
(assoc ::wrk/params {:file-id (:id file)})
|
||||
(assoc ::wrk/delay (dt/duration "5m"))
|
||||
(assoc ::wrk/dedupe true)
|
||||
(assoc ::wrk/priority 1)
|
||||
(wrk/submit!))
|
||||
|
||||
(persist-file! cfg file)
|
||||
|
||||
(let [params (assoc params :file file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue