Replies: 3 comments 4 replies
-
I wouldn't be comfortable to add a general "fiddle with setting" solution, because people would immediately start abusing it, but I supposed we could add for this use-case only (I always have a soft spot in my heart for testing) a |
Beta Was this translation helpful? Give feedback.
-
@wlach @tino looking at this, are y'all sure that you just want to disable backoff? Because it kinda means that you always get the maximum number of attempts (or even whatever fits into wait_max if none is set)? I emphatically don't want global configuration, it seems like we want something like |
Beta Was this translation helpful? Give feedback.
-
This is now fixed by #73. |
Beta Was this translation helpful? Give feedback.
-
Stamina has a nice option to disable retrying altogether (as documented in https://stamina.hynek.me/en/latest/tutorial.html#deactivating-retries-globally) but what if you want to actually test retries?
With tenacity we can do this (as seen here: https://stackoverflow.com/a/48425554):
But I don't see an equivalent feature for stamina. Could we add one?
Beta Was this translation helpful? Give feedback.
All reactions