akka/akka-core
Docs incorrectly state that SupervisorStrategy can't be changed
開放
#20,755 建立於 2016年6月8日
1 - triagedhelp wantedt:coret:docs
倉庫指標
- 星標
- (13,277 顆星)
- PR 合併指標
- (平均合併 8天 19小時) (30 天內合併 10 個 PR)
描述
In the chapter about Fault Tolerance: "... each actor is the supervisor of its children, and as such each actor defines fault handling supervisor strategy. This strategy cannot be changed afterwards ..."
Looking at the ultimate source of truth – the code – I strongly doubt this is correct: Actor.supervisorStrategy is a method and from what I could see it is used "directly" (as opposed to receive).