Use iterator with backpressure for export

This commit is contained in:
Fedor Indutny
2026-03-12 09:24:51 -07:00
committed by GitHub
parent 312b68103e
commit 1e7d5ec614
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,