mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 21:57:11 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
7cff0f60a9
7 changed files with 28 additions and 95 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