Commit ac1a92ab authored by Benjamin Blanc's avatar Benjamin Blanc

revert: taskdistribution: Remove unexisting method call in logger

parent 0c0d8a3e
...@@ -111,7 +111,7 @@ class RPCRetry(object): ...@@ -111,7 +111,7 @@ class RPCRetry(object):
try: try:
return self._RPC(func_id, args) return self._RPC(func_id, args)
except SAFE_RPC_EXCEPTION_LIST: except SAFE_RPC_EXCEPTION_LIST:
self._logger('Got exception, retrying: %s%r ' self._logger.warning('Got exception, retrying: %s%r '
'in %is', func_id, tuple(args), retry_time, exc_info=1) 'in %is', func_id, tuple(args), retry_time, exc_info=1)
time.sleep(retry_time) time.sleep(retry_time)
retry_time *= 1.5 retry_time *= 1.5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment