alibaba/sentinel-golang

Question for the circuit breaker rule struct: why do we need RetryTimeoutMs?

Hyakkiyakou opened this issue · 2 comments

Why set the RetryTimeoutMs phase?
Why should wait the RetryTimeoutMs rather than detect directly?

When the service breaks down, it is generally necessary to intercept the traffic and leave time for the service to recover automatically. If detect directly, the service recovery may fail.

Hi, you may refer to the canonical circuit breaker pattern.