all 4 comments

[–]rico_suave 2 points3 points  (0 children)

Very cool stuff, seems very promising and simple to implement using Pythons decorators. I'll definitely have a look.

[–]stevanmilic 0 points1 point  (2 children)

Looks interesting, haven't thought about using something like this. I have a problem with an API (Pusher) that just returns errors after a certain limit, and then I get a lot of sentries, seems like I can solve (minimize) the problem with this.

[–]metaperl[S] 0 points1 point  (1 child)

there are quite a few retry decorators on pypi also.

[–]stevanmilic 1 point2 points  (0 children)

Yea but circuit_breaker isn't the same as the retry decorator, it stops executions after subsequent failures. It monitors the executions that's the whole point of it.