Merge pull request #2083 from robintown/gappy-sync

Remove the gappy sync hack
This commit is contained in:
Robin
2024-02-20 10:15:32 -05:00
committed by GitHub

View File

@@ -188,16 +188,8 @@ export async function initClient(
await client.store.startup();
}
if (client.initCrypto) {
await client.initCrypto();
}
await client.startClient({
// dirty hack to reduce chance of gappy syncs
// should be fixed by spotting gaps and backpaginating
initialSyncLimit: 50,
});
await client.initCrypto();
await client.startClient();
await waitForSync(client);
return client;