Skip to content
Snippets Groups Projects
Commit c4b34800 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

call process_connection faster under win. it processes incoming stanza under windows only.

parent 701bdb6b
No related branches found
No related tags found
No related merge requests found
......@@ -2484,7 +2484,10 @@ class Interface:
self.last_ftwindow_update = 0
gobject.timeout_add(100, self.autoconnect)
gobject.timeout_add(2000, self.process_connections)
if os.name == 'nt':
gobject.timeout_add(200, self.process_connections)
else:
gobject.timeout_add(2000, self.process_connections)
gobject.timeout_add(10000, self.read_sleepy)
if __name__ == '__main__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment