call process_connection faster under win. it processes incoming stanza under windows only.
This commit is contained in:
parent
701bdb6b85
commit
c4b34800da
|
@ -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__':
|
||||
|
|
Loading…
Reference in New Issue