retry connection 10000 times intead of 100 times

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5958 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Traun Leyden 2007-10-18 01:44:56 +00:00
parent 1e06f16717
commit 58ae7203ef
1 changed files with 1 additions and 1 deletions

View 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)