increase the interval between channels to avoid the rate limits
This commit is contained in:
parent
97800146d8
commit
79bca8ba6c
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class ChannelMonitor(threading.Thread):
|
||||||
rooms = MatrixRoom2.query.all()
|
rooms = MatrixRoom2.query.all()
|
||||||
for r in rooms:
|
for r in rooms:
|
||||||
self.poll_channel(r)
|
self.poll_channel(r)
|
||||||
time.sleep(.25)
|
time.sleep(.5)
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
logging.info("-- Stopping channel monitor --")
|
logging.info("-- Stopping channel monitor --")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue