

def _try_retry(self, invocation):
    if invocation.connection:
        return False
    if (invocation.timeout < time.time()):
        return False
    invoke_func = functools.partial(self.invoke, invocation)
    self.logger.debug('Rescheduling request %s to be retried in %s seconds', invocation.request, RETRY_WAIT_TIME_IN_SECONDS)
    self._client.reactor.add_timer(RETRY_WAIT_TIME_IN_SECONDS, invoke_func)
    return True

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/invocation.py InvocationService._try_retry/original