diff bot.py @ 47:dd9d93ae405a

Reduce latency. Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Mon, 24 Aug 2009 22:00:38 +0200
parents d29171ab2df1
children cb08ea878db9
line wrap: on
line diff
--- a/bot.py
+++ b/bot.py
@@ -79,7 +79,7 @@ class bot(Thread):
 					for c in self.xmpp_connections.itervalues():
 						if hasattr(c, 'Process'):
 							c.lock.acquire()
-							c.Process(0.5)
+							c.Process(0.01)
 							c.lock.release()
 				except RuntimeError:
 					pass