niolabs / nio

The Python block development framework for the nio software platform

Home Page:https://docs.n.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reset retry_num when retry(s) fail

shadetree01010100 opened this issue · comments

https://github.com/nioinnovation/nio/blob/master/nio/block/mixins/retry/strategy.py
Above line 62 retry_num needs to be set back to 0, otherwise subsequent retries will compare a cumulative count to max_retries, and then not retry.

resolved with #113