Use iterator with backpressure for export

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-03-12 11:37:36 -05:00
committed by GitHub
parent b4c2749a07
commit da339458ce
2 changed files with 51 additions and 51 deletions

View File

@@ -8965,7 +8965,7 @@ function pageBackupMessages(
db: ReadableDB,
cursor?: PageBackupMessagesCursorType
): PageBackupMessagesResultType {
const LIMIT = 10000;
const LIMIT = 1000;
const [query, params] = sql`
SELECT
rowid,