Speed up message migration further
This commit is contained in:
parent
098f54602e
commit
6940c532ea
1 changed files with 2 additions and 2 deletions
|
@ -987,8 +987,8 @@ export async function startApp(): Promise<void> {
|
|||
`Starting background data migration. Target version: ${Message.CURRENT_SCHEMA_VERSION}`
|
||||
);
|
||||
idleDetector.on('idle', async () => {
|
||||
const NUM_MESSAGES_PER_BATCH = 25;
|
||||
const BATCH_DELAY = durations.SECOND / 2;
|
||||
const NUM_MESSAGES_PER_BATCH = 1000;
|
||||
const BATCH_DELAY = durations.SECOND / 4;
|
||||
|
||||
if (isIdleTaskProcessing) {
|
||||
log.warn(
|
||||
|
|
Loading…
Reference in a new issue