From 1aa18eabd6e183efd50b101b591a925bcb69a0e8 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Mon, 24 Nov 2025 09:53:48 +0500 Subject: [PATCH] mobile: smaller batch size of items --- apps/mobile/app/common/database/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/app/common/database/index.ts b/apps/mobile/app/common/database/index.ts index cae6785ab..ec65abff6 100644 --- a/apps/mobile/app/common/database/index.ts +++ b/apps/mobile/app/common/database/index.ts @@ -72,8 +72,8 @@ export async function setupDatabase(password?: string) { ({ compress: Gzip.deflate, decompress: Gzip.inflate - } as ICompressor), - batchSize: 100, + }) as ICompressor, + batchSize: 50, sqliteOptions: { dialect: (name) => ({ createDriver: () => {