StrictSupervisorStrategy 严格监督策略 任何失败都停止 Actor
()
| 274 | // StrictSupervisorStrategy 严格监督策略 |
| 275 | // 任何失败都停止 Actor |
| 276 | func StrictSupervisorStrategy() SupervisorStrategy { |
| 277 | return NewOneForOneStrategy(0, time.Second, StoppingDecider) |
| 278 | } |
| 279 | |
| 280 | // LenientSupervisorStrategy 宽松监督策略 |
| 281 | // 允许更多重启 |
nothing calls this directly
no test coverage detected