mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 19:16:10 +02:00
✨ Improve file-gc task
make it more aware of fragments referenced on changes snapshots
This commit is contained in:
parent
82dad3217b
commit
5e89aa2726
7 changed files with 260 additions and 130 deletions
|
@ -42,8 +42,9 @@
|
|||
|
||||
(db/exec-one! conn ["SET CONSTRAINTS ALL DEFERRED;"])
|
||||
(let [id (or id (uuid/next))
|
||||
features (-> (into files/default-features features)
|
||||
(files/check-features-compatibility!))
|
||||
features (->> features
|
||||
(into (files/get-default-features))
|
||||
(files/check-features-compatibility!))
|
||||
|
||||
data (binding [pmap/*tracked* (atom {})
|
||||
ffeat/*current* features
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue