From 46bcb947e9d4184ccf3ec8f38d6df1cb06e927e3 Mon Sep 17 00:00:00 2001 From: murm Date: Wed, 15 Mar 2023 10:53:18 -0400 Subject: [PATCH] tweak sync limit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index d712148..bc90a1e 100644 --- a/app.js +++ b/app.js @@ -184,7 +184,7 @@ esmBot ${esmBotVersion} (${process.env.GIT_REV}) matrixClient.on("Room.timeline", event.bind(null,matrixClient)); logger.log("info", "Finished loading events."); - matrixClient.startClient({ initialSyncLimit: 0 }).then(() => logger.log("info", "Client started!")); + matrixClient.startClient({ initialSyncLimit: 1 }).then(() => logger.log("info", "Client started!")); } init(); \ No newline at end of file