mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 08:16:13 +02:00
♻️ Make the media cleaning mechanism on file-gc task more efficient
Replaces the use of db/cursor with db/plan, that teorethically allows processing large results without consuming all result set in memory
This commit is contained in:
parent
fde0f3c182
commit
5513daf17d
3 changed files with 44 additions and 37 deletions
|
@ -62,7 +62,7 @@
|
|||
(def default
|
||||
{:database-uri "postgresql://postgres/penpot_test"
|
||||
:redis-uri "redis://redis/1"
|
||||
:file-snapshot-every 1})
|
||||
:auto-file-snapshot-every 1})
|
||||
|
||||
(def config
|
||||
(cf/read-config :prefix "penpot-test"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue