From: Traun Leyden Date: Thu, 18 Oct 2007 01:44:56 +0000 (+0000) Subject: retry connection 10000 times intead of 100 times X-Git-Tag: v1.0-beta2~408 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ae7203ef43f653aa45de156dd36390240a1883;p=thirdparty%2Ffreeswitch.git retry connection 10000 times intead of 100 times git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5958 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/scripts/socket/freepy/fseventlistener.py b/scripts/socket/freepy/fseventlistener.py index 7f7c1c99d1..f71ad20e95 100644 --- a/scripts/socket/freepy/fseventlistener.py +++ b/scripts/socket/freepy/fseventlistener.py @@ -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)