MCPcopy Create free account
hub / github.com/astercloud/aster / LenientSupervisorStrategy

Function LenientSupervisorStrategy

pkg/actor/supervisor.go:282–284  ·  view source on GitHub ↗

LenientSupervisorStrategy 宽松监督策略 允许更多重启

()

Source from the content-addressed store, hash-verified

280// LenientSupervisorStrategy 宽松监督策略
281// 允许更多重启
282func LenientSupervisorStrategy() SupervisorStrategy {
283 return NewOneForOneStrategy(10, 5*time.Minute, DefaultDecider)
284}
285
286// ============== 组合策略 ==============
287

Callers

nothing calls this directly

Calls 1

NewOneForOneStrategyFunction · 0.85

Tested by

no test coverage detected