probably should not error limit on timeouts

This commit is contained in:
Michael Barton 2011-04-07 16:15:26 +00:00
parent 4bd088e6b8
commit 8642275fd2

View File

@ -507,8 +507,7 @@ class Controller(object):
return resp.status, resp.reason, resp.read() return resp.status, resp.reason, resp.read()
elif resp.status == 507: elif resp.status == 507:
self.error_limit(node) self.error_limit(node)
except (Exception, Timeout, ConnectionTimeout): except (Exception, Timeout):
self.error_limit(node)
self.exception_occurred(node, self.server_type, self.exception_occurred(node, self.server_type,
_('Trying to %(method)s %(path)s') % _('Trying to %(method)s %(path)s') %
{'method': method, 'path': path}) {'method': method, 'path': path})