diff --git a/tryton/tryton/jsonrpc.py b/tryton/tryton/jsonrpc.py index d84287394a..4ba8406b0b 100644 --- a/tryton/tryton/jsonrpc.py +++ b/tryton/tryton/jsonrpc.py @@ -312,10 +312,6 @@ class ServerProxy(xmlrpc.client.ServerProxy): delay = int( e.headers.get('Retry-After', count)) except ValueError: - if isinstance( - e.errcode, HTTPStatus.GATEWAY_TIMEOUT): - # Do not retry on timeout without delay - raise delay = count delay = min(delay, 10) time.sleep(delay)