Skip to content

Commit 114330d

Browse files
committed
Decrease primarySyncFromSecondary db query limit from 10k to 1k (#3856)
1 parent f7773f6 commit 114330d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

creator-node/src/services/sync/primarySyncFromSecondary.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const {
1818
} = require('../stateMachineManager/stateMachineConstants')
1919

2020
const DEFAULT_LOG_CONTEXT = {}
21-
const DB_QUERY_LIMIT = config.get('devMode') ? 5 : 10000
21+
const DB_QUERY_LIMIT = config.get('devMode') ? 5 : 1000
2222
const {
2323
LOCAL_DB_ENTRIES_SET_KEY_PREFIX,
2424
FETCHED_ENTRIES_SET_KEY_PREFIX,

0 commit comments

Comments
 (0)