You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation the circuit should close after opening after the options.resetTimeout has elapsed and a successful attempt. In our case this was not the case. We are using the circuit with http requests. We noticed that any pending promise resolving with a success will close the circuit even if the options.resetTimeout has not elapsed.
What I think is happening:
Circuit opens while there are still pending promises.
options.resetTimeout starts to count down.
One of the pending promises resolves while the options.resetTimeout has not yet run out.
Circuit closes.
Is this an expected behavior of the circuit?
The text was updated successfully, but these errors were encountered:
According to the documentation the circuit should close after opening after the
options.resetTimeout
has elapsed and a successful attempt. In our case this was not the case. We are using the circuit with http requests. We noticed that any pending promise resolving with a success will close the circuit even if theoptions.resetTimeout
has not elapsed.What I think is happening:
options.resetTimeout
starts to count down.options.resetTimeout
has not yet run out.Is this an expected behavior of the circuit?
The text was updated successfully, but these errors were encountered: