call process_connection faster under win. it processes incoming stanza under windows only.
This commit is contained in:
parent
701bdb6b85
commit
c4b34800da
|
@ -2484,6 +2484,9 @@ class Interface:
|
||||||
self.last_ftwindow_update = 0
|
self.last_ftwindow_update = 0
|
||||||
|
|
||||||
gobject.timeout_add(100, self.autoconnect)
|
gobject.timeout_add(100, self.autoconnect)
|
||||||
|
if os.name == 'nt':
|
||||||
|
gobject.timeout_add(200, self.process_connections)
|
||||||
|
else:
|
||||||
gobject.timeout_add(2000, self.process_connections)
|
gobject.timeout_add(2000, self.process_connections)
|
||||||
gobject.timeout_add(10000, self.read_sleepy)
|
gobject.timeout_add(10000, self.read_sleepy)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue