forked from Mirrors/freeswitch
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:
parent
1e06f16717
commit
58ae7203ef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue