From 58ae7203ef43f653aa45de156dd36390240a1883 Mon Sep 17 00:00:00 2001 From: Traun Leyden Date: Thu, 18 Oct 2007 01:44:56 +0000 Subject: [PATCH] retry connection 10000 times intead of 100 times git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5958 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/socket/freepy/fseventlistener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)