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