You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to write a solution that mimics the python-rq feature of retrying a job at specified intervals when it fails. But it seems there's some issue if the job succeeds after subsequent failures.
In the scenario when the job succeeds after subsequent failures, as seen in the script below, I am trying to reset the retry_intervals and retries_left to None. So, if a failure scenario occurs later in time, it would ideally have the same number of retries left. But in my case of this script, the job gets canceled as retries_left doesn't reset its value.
I would be grateful to get any help or advice on the topic. Thanks.
I am trying to write a solution that mimics the python-rq feature of retrying a job at specified intervals when it fails. But it seems there's some issue if the job succeeds after subsequent failures.
In the scenario when the job succeeds after subsequent failures, as seen in the script below, I am trying to reset the
retry_intervals
andretries_left
toNone
. So, if a failure scenario occurs later in time, it would ideally have the same number of retries left. But in my case of this script, the job gets canceled asretries_left
doesn't reset its value.I would be grateful to get any help or advice on the topic. Thanks.
The text was updated successfully, but these errors were encountered: