]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
retry connection 10000 times intead of 100 times
authorTraun Leyden <tleyden@branchcut.com>
Thu, 18 Oct 2007 01:44:56 +0000 (01:44 +0000)
committerTraun Leyden <tleyden@branchcut.com>
Thu, 18 Oct 2007 01:44:56 +0000 (01:44 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5958 d0543943-73ff-0310-b7d9-9358b9ac24b2

scripts/socket/freepy/fseventlistener.py

index 7f7c1c99d1b9f7e1bbe083df948f3ac1b43190b1..f71ad20e95469f5a0a881ec21d4a2babc06809c8 100644 (file)
@@ -214,7 +214,7 @@ class FreeswitchEventListenerFactory(ClientFactory):
     
     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)