Commit 499340aa authored by TousakaRin's avatar TousakaRin Committed by TousakaRin

Modify the default values of window_size

parent db34f960
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
namespace brpc { namespace brpc {
DEFINE_int32(circuit_breaker_short_window_size, 30, DEFINE_int32(circuit_breaker_short_window_size, 100,
"Short window sample size."); "Short window sample size.");
DEFINE_int32(circuit_breaker_long_window_size, 100, DEFINE_int32(circuit_breaker_long_window_size, 1000,
"Long window sample size."); "Long window sample size.");
DEFINE_int32(circuit_breaker_short_window_error_percent, 5, DEFINE_int32(circuit_breaker_short_window_error_percent, 5,
"The maximum error rate allowed by the short window, ranging from 0-99."); "The maximum error rate allowed by the short window, ranging from 0-99.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment