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