mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-07-13 16:43:53 +01:00
Speed up message migration further
This commit is contained in:
+2
-2
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user