don't drop events if we receive more than 8 in one batch

This commit is contained in:
Matthew Hodgson 2021-08-11 04:35:57 +01:00
parent 0bd8800402
commit 0da4dd2dd6

View file

@ -51,7 +51,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);