fix: remove redundant startSpidering call causing N+1 sync requests

This commit is contained in:
Evie Gauthier committed 2026-03-24 23:32:26 -04:00
1 parent 1fc0a0d80c
commit ba99ef428b
1 file changed
-3
-3
View File
@@ -563,9 +563,6 @@ export const startClient = async (mx: MatrixClient, config?: StartClientConfig):
pollTimeoutMs: slidingConfig?.pollTimeoutMs ?? SLIDING_SYNC_POLL_TIMEOUT_MS,
});
manager.attach();
// Begin background spidering so all rooms are eventually indexed.
// Not awaited — this runs incrementally in the background.
manager.startSpidering(100, 50);
slidingSyncByClient.set(mx, manager);
syncTransportByClient.set(mx, {
transport: 'sliding',