increase the interval between channels to avoid the rate limits

This commit is contained in:
Morgan McMillian 2018-01-27 12:56:36 -08:00
parent 97800146d8
commit 79bca8ba6c

View file

@ -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 --")