fix delay interval for production use

This commit is contained in:
Morgan McMillian 2018-03-25 11:36:05 -07:00
parent 5b4b5102a7
commit 6df0efceac

View file

@ -227,7 +227,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(5) time.sleep(.5)
time.sleep(3) time.sleep(3)
logging.info("-- Stopping channel monitor --") logging.info("-- Stopping channel monitor --")