Skip to content

Commit 765debe

Browse files
authored
Merge f8119c6 into 87c90a7
2 parents 87c90a7 + f8119c6 commit 765debe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/src/local/index_backfiller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ import { isIndexedDbTransactionError } from './simple_db';
3535
const LOG_TAG = 'IndexBackiller';
3636

3737
/** How long we wait to try running index backfill after SDK initialization. */
38-
const INITIAL_BACKFILL_DELAY_MS = 15;
38+
const INITIAL_BACKFILL_DELAY_MS = 15 * 1000;
3939

4040
/** Minimum amount of time between backfill checks, after the first one. */
41-
const REGULAR_BACKFILL_DELAY_MS = 1;
41+
const REGULAR_BACKFILL_DELAY_MS = 60 * 1000;
4242

4343
/** The maximum number of documents to process each time backfill() is called. */
4444
const MAX_DOCUMENTS_TO_PROCESS = 50;

0 commit comments

Comments
 (0)