Load only 25 past events at once until lag solved
This commit is contained in:
parent
57577ba8b8
commit
c70c7d555d
|
@ -154,7 +154,7 @@ class MatrixClient(nio.AsyncClient):
|
|||
log.error("Failed to send message: %s", response)
|
||||
|
||||
|
||||
async def load_past_events(self, room_id: str, limit: int = 100) -> bool:
|
||||
async def load_past_events(self, room_id: str, limit: int = 25) -> bool:
|
||||
if room_id in self.backend.fully_loaded_rooms:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user