Commit fc237e58 authored by TousakaRin's avatar TousakaRin

Fix compile error

parent 379caa1f
......@@ -145,7 +145,7 @@ int32_t AutoConcurrencyLimiter::AddSample(int error_code,
}
if (_sw.succ_count + _sw.failed_count < FLAGS_auto_cl_min_sample_count) {
if (sampling_time_us - _sw.sampling_time_us >=
if (sampling_time_us - _sw.start_time_us >=
FLAGS_auto_cl_sample_window_size_ms * 1000) {
// If the sample size is insufficient at the end of the sampling
// window, discard the entire sampling window
......
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