From 04f5e5d0f425bdaabab0eb162b603ed5d0cb4a65 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 10 Nov 2020 11:02:05 +0100 Subject: patch matrixclient to wait for longer after connection reset --- nix/badsync.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nix/badsync.patch (limited to 'nix') diff --git a/nix/badsync.patch b/nix/badsync.patch new file mode 100644 index 0000000..842129b --- /dev/null +++ b/nix/badsync.patch @@ -0,0 +1,14 @@ +diff --git a/matrix_client/client.py b/matrix_client/client.py +index af0e08f..f848c4f 100644 +--- a/matrix_client/client.py ++++ b/matrix_client/client.py +@@ -471,7 +471,7 @@ class MatrixClient(object): + self._sync(timeout_ms) + + def listen_forever(self, timeout_ms=30000, exception_handler=None, +- bad_sync_timeout=5): ++ bad_sync_timeout=61): + """ Keep listening for events forever. + + Args: + -- cgit v1.2.3