From 2a772e5f547eac9a92c722cfefb57988c8eee546 Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 5 May 2020 21:19:43 -0400 Subject: [PATCH] Ensure waiting after sync failure before retrying --- src/backend/matrix_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/matrix_client.py b/src/backend/matrix_client.py index be238536..292a6d0a 100644 --- a/src/backend/matrix_client.py +++ b/src/backend/matrix_client.py @@ -350,7 +350,7 @@ class MatrixClient(nio.AsyncClient): else: LoopException(str(err), err, trace) - await asyncio.sleep(2) + await asyncio.sleep(5) async def get_server_config(self) -> int: