Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sdan
on Feb 5, 2020
|
parent
|
context
|
favorite
| on:
Opnieuw: A simple and intuitive retrying library f...
I think I’ll try this, but for devs:
a simple while True + try/catch + time.sleep(n*2) will do exponential backoff pretty easily.
x3ro
on Feb 5, 2020
|
next
[–]
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
BiteCode_dev
on Feb 5, 2020
|
prev
[–]
But no jitter, and no timeout.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
a simple while True + try/catch + time.sleep(n*2) will do exponential backoff pretty easily.