0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-09 08:38:15 -05:00
penpot/backend/src/app/worker
Andrey Antukh 584a0fdba1 Reduce locking on objects-gc task
The main issue was the long running gc operation that
affects storage objects with deduplication. The long running
transacion ends locking some storage object rows which collaterally
made operations like import-binfile become blocked indefinitelly
because of the same rows (because of deduplication).

The solution used in this commit is split operations on small
chunks so we no longer use long running transactions that holds
too many locks. With this approach we will make a window to work
concurrently all operarate the distinct operations that requires
locks on the same rows.
2024-05-23 16:35:54 +02:00
..
cron.clj 📎 Add minor logging improvements on worker module 2024-04-16 16:42:44 +02:00
dispatcher.clj 📎 Update logging on worker module 2024-04-08 11:53:33 +02:00
executor.clj Move executor service initialization to a separared ns 2024-04-03 17:03:06 +02:00
runner.clj Reduce locking on objects-gc task 2024-05-23 16:35:54 +02:00