codex
This commit is contained in:
parent
35877b69da
commit
8aeb0d6027
20 changed files with 1198 additions and 88 deletions
|
|
@ -507,6 +507,7 @@ export class SyncClient {
|
|||
await this.serverConfig.getConfig();
|
||||
|
||||
await this.syncer.scheduleSyncForOfflineChanges();
|
||||
this.syncer.resumeDraining();
|
||||
this.webSocketManager.start();
|
||||
|
||||
this.hasFinishedOfflineSync = true;
|
||||
|
|
@ -514,6 +515,7 @@ export class SyncClient {
|
|||
|
||||
private async pause(): Promise<void> {
|
||||
this.hasFinishedOfflineSync = false;
|
||||
this.syncer.pauseDraining();
|
||||
this.fetchController.startReset();
|
||||
// Signal the service so any `retryForever` loop exits at its next
|
||||
// iteration instead of continuing to retry a network request while
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue