From cb0d409ebf74d6f9a678f485e14d314caa5edf77 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 8 Aug 2025 11:01:19 +0200 Subject: [PATCH] WIP --- backend/src/app/features/fdata.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/app/features/fdata.clj b/backend/src/app/features/fdata.clj index e056d95976..764587676c 100644 --- a/backend/src/app/features/fdata.clj +++ b/backend/src/app/features/fdata.clj @@ -391,7 +391,8 @@ FROM file AS f WHERE f.data IS NOT NULL WINDOW w AS (order by f.modified_at ASC) - ORDER BY f.modified_at ASC") + ORDER BY f.modified_at ASC + LIMIT 100000") (defn migrate-to-storage "Migrate the current existing files to store data in new storage