Speed up background message migration
This commit is contained in:
parent
02e7a9e1a5
commit
77f70489e7
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ export async function startApp(): Promise<void> {
|
|||
);
|
||||
idleDetector.on('idle', async () => {
|
||||
const NUM_MESSAGES_PER_BATCH = 25;
|
||||
const BATCH_DELAY = 10 * durations.SECOND;
|
||||
const BATCH_DELAY = durations.SECOND / 2;
|
||||
|
||||
if (isIdleTaskProcessing) {
|
||||
log.warn(
|
||||
|
|
Loading…
Reference in a new issue