fdutils/decorators.py
def retry_for_minutes(minutes, retry_every_secs, **kwargs):
    """ a retry decorator that execute a given function a maximum time in minutes and retry every amount of seconds

    """
    tries = int(minutes * 60 / retry_every_secs)
    return retry(tries, delay=retry_every_secs, backoff=1, retries_timeout=int(60 * minutes), **kwargs)
 a retry decorator that execute a given function a maximum time in minutes and retry every amount of seconds

    
a retry decorator that execute a given function a maximum time in minutes and retry every amount of seconds
a retry decorator that execute a given function a maximum time in minutes and retry every amount of seconds
def retry_for_minutes(minutes, retry_every_secs, **kwargs):
    tries = int(minutes * 60 / retry_every_secs)
    return retry(tries, delay=retry_every_secs, backoff=1, retries_timeout=int(60 * minutes), **kwargs)
def retry_for_minutes ( minutes , retry_every_secs , ** kwargs ) : tries = int ( minutes * 60 / retry_every_secs ) return retry ( tries , delay = retry_every_secs , backoff = 1 , retries_timeout = int ( 60 * minutes ) , ** kwargs )
a retry decorator that execute a given function a maximum time in minutes and retry every amount of seconds
a retry decorator that execute a given function a maximum time in minutes and retry every amount of seconds
""" a retry decorator that execute a given function a maximum time in minutes and retry every amount of seconds

    """
minutes
retry_every_secs