changeset 1156:4585ac6bce2c

Try reconnecting much faster.
author Martin Geisler <mg@daimi.au.dk>
date Fri, 03 Apr 2009 10:55:52 +0200
parents 4d7291de8f8a
children e94a7d1eae29
files viff/runtime.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/viff/runtime.py	Fri Mar 27 15:47:44 2009 +0100
+++ b/viff/runtime.py	Fri Apr 03 10:55:52 2009 +0200
@@ -334,6 +334,8 @@
     """Factory for creating ShareExchanger protocols."""
 
     protocol = ShareExchanger
+    maxDelay = 3
+    factor = 1.234567 # About half of the Twisted default
 
     def __init__(self, runtime, players, protocols_ready):
         """Initialize the factory."""