Unverified Commit 38e5d864 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #509 from TousakaRin/circuit_breaker

Reduce the execution time of brpc_circuit_unittest
parents 6b53cac1 653fd033
......@@ -23,7 +23,7 @@ const int kLongWindowSize = 1000;
const int kShortWindowErrorPercent = 10;
const int kLongWindowErrorPercent = 5;
const int kMinIsolationDurationMs = 100;
const int kMaxIsolationDurationMs = 30000;
const int kMaxIsolationDurationMs = 1000;
const int kErrorCodeForFailed = 131;
const int kErrorCodeForSucc = 0;
const int kErrorCost = 1000;
......
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