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

This commit is contained in:
Yann Leboulanger 2007-08-09 10:41:59 +00:00
parent 701bdb6b85
commit c4b34800da
1 changed files with 4 additions and 1 deletions

View File

@ -2484,7 +2484,10 @@ class Interface:
self.last_ftwindow_update = 0 self.last_ftwindow_update = 0
gobject.timeout_add(100, self.autoconnect) 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) gobject.timeout_add(10000, self.read_sleepy)
if __name__ == '__main__': if __name__ == '__main__':