- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for maxDur (0.03 sec)
-
cmd/dynamic-timeouts.go
// We are hitting the timeout relatively few times, // so decrease the timeout towards 25 % of maximum time spent. maxDur = maxDur * 125 / 100 timeout := atomic.LoadInt64(&dt.timeout) if maxDur < time.Duration(timeout) { // Move 50% toward the max. timeout = (int64(maxDur) + timeout) / 2 } if timeout < dt.minimum { timeout = dt.minimum } atomic.StoreInt64(&dt.timeout, timeout) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0)