mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 06:36:11 +02:00
✨ Add some type hints and remove legacy code.
This commit is contained in:
parent
2e084cc2a6
commit
784a4f8ecd
11 changed files with 18 additions and 181 deletions
|
@ -308,7 +308,7 @@
|
|||
(if-let [[groups total] (retrieve-deleted-objects conn)]
|
||||
(do
|
||||
(run! (partial delete-in-bulk conn) groups)
|
||||
(recur (+ n total)))
|
||||
(recur (+ n ^long total)))
|
||||
(do
|
||||
(log/infof "gc-deleted: processed %s items" n)
|
||||
{:deleted n})))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue