Add initialSyncLimit to register/login methods

This commit is contained in:
Robert Long 2021-08-11 12:02:12 -07:00
parent 543eaa4769
commit 6d9d920a4b

View file

@ -88,7 +88,11 @@ export class ConferenceCallManager extends EventEmitter {
const manager = new ConferenceCallManager(client);
await client.startClient();
await client.startClient({
// dirty hack to reduce chance of gappy syncs
// should be fixed by spotting gaps and backpaginating
initialSyncLimit: 50,
});
await waitForSync(client);
@ -123,7 +127,11 @@ export class ConferenceCallManager extends EventEmitter {
const manager = new ConferenceCallManager(client);
await client.startClient();
await client.startClient({
// dirty hack to reduce chance of gappy syncs
// should be fixed by spotting gaps and backpaginating
initialSyncLimit: 50,
});
await waitForSync(client);