New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding retries to task circuit breaker #383
adding retries to task circuit breaker #383
Conversation
This allows a protected task to be automatically retried on the same breaker. It also utilises the internal reset timeout of the breaker to delay retried executions.
@kdrakon I'm still trying to digest this PR. Can you please merge with master? It should fix the build failure. |
hey @alexandru, sorry, I'm not sure why my branch keeps breaking with the openssl error :( |
I think it's my setup to blame. Try and re-merge with master. |
The OpenSSL problem is definitely my problem, but should be fixed on master. |
@alexandru no worries. I already merged master though...still same failure |
@kdrakon sorry for not replying, just adding a note that I'm on vacation and will give this some thought when I'll be back on Monday. |
@alexandru no worries and no rush. Enjoy the vacation time 😊 |
Hey @kdrakon, this took a really long time, being bad management on my part. I think that the latest See doc sample: https://github.com/monix/monix/blob/master/monix-catnap/shared/src/main/scala/monix/catnap/CircuitBreaker.scala#L152 Again, sorry for the delay. |
No worries @alexandru, and cheers for pointing me to the doc example 👍 |
See #382 for reasoning behind this change