From 1a81631886c431bd24d059ec8f46f444945b8c77 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 4 Jun 2021 09:41:42 +0200 Subject: [PATCH] :paperclip: Decrease default bulk buffers on storage tasks. --- backend/src/app/storage.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/storage.clj b/backend/src/app/storage.clj index b67c2b215..0b1c1ffe1 100644 --- a/backend/src/app/storage.clj +++ b/backend/src/app/storage.clj @@ -319,7 +319,7 @@ where s.deleted_at is not null and s.deleted_at < (now() - ?::interval) order by s.deleted_at - limit 500 + limit 100 ) delete from storage_object where id in (select id from items_part) @@ -396,7 +396,7 @@ from storage_object as so where so.touched_at is not null order by so.touched_at - limit 500;") + limit 100;") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Recheck Stalled Task