Re:Opnieuw: A simple and intuitive retrying library for Python
by x3ro on Wednesday February 05, 2020 @08:21AM
(#22246476)
The post clearly states the problems they were trying to solve, none of which are taken into account here (consistency, ease of parameterization,..) It seems like people are reading too many "X in Y lines of code" posts :D
Re:Opnieuw: A simple and intuitive retrying library for Python
by BiteCode_dev on Wednesday February 05, 2020 @08:20AM
(#22246464)
But no jitter, and no timeout.
a simple while True + try/catch + time.sleep(n*2) will do exponential backoff pretty easily.