| 18 | const ( |
| 19 | boostWinnerTTL = 30 * time.Second // 胜出线路缓存时长 |
| 20 | boostRevalidateAfter = boostWinnerTTL / 2 |
| 21 | boostRevalidateLimit = 2 * time.Second |
| 22 | boostWinnerCacheMax = 256 |
| 23 | ) |
| 24 | |
| 25 | var errBoostMaintenanceSaturated = errors.New("boost maintenance dial capacity saturated") |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected