Fix shutdown with bad network connectivity
This commit is contained in:
parent
dd5b66039d
commit
41e44a8787
3 changed files with 46 additions and 11 deletions
|
@ -162,7 +162,7 @@ import { StartupQueue } from './util/StartupQueue';
|
|||
import { showConfirmationDialog } from './util/showConfirmationDialog';
|
||||
import { onCallEventSync } from './util/onCallEventSync';
|
||||
import { sleeper } from './util/sleeper';
|
||||
import { DAY, HOUR, MINUTE } from './util/durations';
|
||||
import { DAY, HOUR, SECOND } from './util/durations';
|
||||
import { copyDataMessageIntoMessage } from './util/copyDataMessageIntoMessage';
|
||||
import {
|
||||
flushMessageCounter,
|
||||
|
@ -798,7 +798,7 @@ export async function startApp(): Promise<void> {
|
|||
);
|
||||
timeout = undefined;
|
||||
resolve();
|
||||
}, 1 * MINUTE);
|
||||
}, 10 * SECOND);
|
||||
}),
|
||||
]);
|
||||
if (timeout) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue