Initial backlog in reversed order (just a convenience)

This commit is contained in:
Alex 2020-03-06 21:48:37 +01:00
parent c6035d0dbe
commit 0d6fa02a78

View file

@ -252,7 +252,7 @@ class MessengerBridge:
self.sync_thread_queue = queue.Queue(100)
SyncerThread(self, self.sync_thread_queue).start()
for thread in threads:
for thread in reversed(threads):
self.sync_thread_queue.put(thread)
ClientListenThread(self.client).start()