diff options
author | makefu <github@syntax-fehler.de> | 2020-11-10 11:02:05 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-11-10 11:02:05 +0100 |
commit | 04f5e5d0f425bdaabab0eb162b603ed5d0cb4a65 (patch) | |
tree | 4f691337645df6727687684aab4fc85cc34a2ab8 /nix | |
parent | 08d98aa4e6291824f66a55f259c8ffe4eb829126 (diff) |
patch matrixclient to wait for longer after connection reset
Diffstat (limited to 'nix')
-rw-r--r-- | nix/badsync.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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: + |