call process_connection faster under win. it processes incoming stanza under windows only.
This commit is contained in:
		
							parent
							
								
									701bdb6b85
								
							
						
					
					
						commit
						c4b34800da
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		
		Reference in a new issue