From 79bca8ba6c3364db12afd6a9c613621411ac8164 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 27 Jan 2018 12:56:36 -0800 Subject: [PATCH] increase the interval between channels to avoid the rate limits --- pnut-bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnut-bridge.py b/pnut-bridge.py index b593da0..59e49ea 100644 --- a/pnut-bridge.py +++ b/pnut-bridge.py @@ -184,7 +184,7 @@ class ChannelMonitor(threading.Thread): rooms = MatrixRoom2.query.all() for r in rooms: self.poll_channel(r) - time.sleep(.25) + time.sleep(.5) time.sleep(3) logging.info("-- Stopping channel monitor --")