MCPcopy Create free account
hub / github.com/cppla/moto / boostWinnerEntry

Struct boostWinnerEntry

controller/boost.go:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected