提交 58ae7203 authored 作者: Traun Leyden's avatar Traun Leyden

retry connection 10000 times intead of 100 times

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5958 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1e06f167
......@@ -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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论