From 52c2436f4537f6d1d59ad8782253b5aa21e780bf Mon Sep 17 00:00:00 2001 From: Kegan Dougal <7190048+kegsay@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:00:01 +0100 Subject: [PATCH] Half the batch size to trickle more quickly --- src/SlidingSyncManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SlidingSyncManager.ts b/src/SlidingSyncManager.ts index abc6157117..f7f52cb5a1 100644 --- a/src/SlidingSyncManager.ts +++ b/src/SlidingSyncManager.ts @@ -321,7 +321,7 @@ export class SlidingSyncManager { public async setup(client: MatrixClient): Promise { const slidingSync = this.configure(client, client.baseUrl); logger.info("Simplified Sliding Sync activated at", client.baseUrl); - this.startSpidering(slidingSync, 100, 50); // 100 rooms at a time, 50ms apart + this.startSpidering(slidingSync, 50, 50); // 50 rooms at a time, 50ms apart return slidingSync; }