akka/akka-core

Docs incorrectly state that SupervisorStrategy can't be changed

オープン

#20,755 opened on 2016/06/08

 (7 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (3,547 件のフォーク)batch import
1 - triagedhelp wantedt:coret:docs

Repository metrics

Stars
 (13,277 個のスター)
PR merge metrics
 (平均マージ 8d 19h) (30d で 10 merged PRs)

説明

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).

コントリビューターガイド