[Freeswitch-svn] [commit] r5958 - freeswitch/trunk/scripts/socket/freepy

Freeswitch SVN greenlizard at freeswitch.org
Wed Oct 17 21:44:57 EDT 2007


Author: greenlizard
Date: Wed Oct 17 21:44:56 2007
New Revision: 5958

Modified:
   freeswitch/trunk/scripts/socket/freepy/fseventlistener.py

Log:
retry connection 10000 times intead of 100 times

Modified: freeswitch/trunk/scripts/socket/freepy/fseventlistener.py
==============================================================================
--- freeswitch/trunk/scripts/socket/freepy/fseventlistener.py	(original)
+++ freeswitch/trunk/scripts/socket/freepy/fseventlistener.py	Wed Oct 17 21:44:56 2007
@@ -214,7 +214,7 @@
     
     def clientConnectionFailed(self, connector, reason):
 
-        if self.num_attempts < 100:
+        if self.num_attempts < 10000:
             self.num_attempts += 1            
             print "Connection refused, retrying attempt #%s in 5 seconds" % \
                   (self.num_attempts)



More information about the Freeswitch-svn mailing list