←back to thread

72 points networked | 7 comments | | HN request time: 0.71s | source | bottom
1. Terretta ◴[] No.42193579[source]
For Python, consider Tenacity: https://tenacity.readthedocs.io/en/latest/

At the CLI, this is nice for not depending on Node.

replies(5): >>42193588 #>>42193649 #>>42193809 #>>42195207 #>>42195700 #
2. lordswork ◴[] No.42193588[source]
Does recur depend on node?
3. derhuerst ◴[] No.42193649[source]
for Node.js, consider retry: https://www.npmjs.com/package/retry
replies(1): >>42193682 #
4. yodon ◴[] No.42193682[source]
>For Python, consider Tenacity

>>For node.js, consider retry

For .NET, consider Polly[0]

[0]https://www.pollydocs.org/

5. derr1 ◴[] No.42193809[source]
Would also recommend opnieuw: https://github.com/channable/opnieuw
6. ddorian43 ◴[] No.42195207[source]
Stamina for good defaults on Tenacity: https://github.com/hynek/stamina
7. maleldil ◴[] No.42195700[source]
backoff is good, too: https://github.com/litl/backoff

I moved away from tenacity because of type-checking issues. I might check out stamina next time.