-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fallbacks executions #90
Comments
Hey @pauloballan, that definitely shouldn't be happening. Can you give a code snippet of your implementation that I could look at? Thanks, -Alex |
Hi @awolden! Thanks for such a quick answer. I think i'm not getting it right the usage for the breaker. I am currently using callbacks in my project and the apicall is something like this: `function apicall(params, callback) {
};` This function is forcing the error in order to see fallback working. And this is the brakes setting up:
apicallBrakes is the one called as a client service. Thanks! |
I don't see Hey @pauloballan thanks for sharing the code. Based on this I don't see where a fallback is being defined. Normally a fallback is defined via |
Hello!
I am implementing this circuit breaker for node.js and i noted something strange. In a normal flow for my, in this case, API call i always see that the fallback functions is being called, the service is working ok and the response is totally fine, but whenever i set a breakpoint in the fallback, it stops right there, even if the flow goes ok.
I am not sure why is it executing if there are not errors in the api call.
Thanks!
The text was updated successfully, but these errors were encountered: