tweak sync limit

This commit is contained in:
murm 2023-03-15 10:53:18 -04:00
parent 69f3f34bde
commit 46bcb947e9

2
app.js
View file

@ -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();