akka/akka-core

Docs incorrectly state that SupervisorStrategy can't be changed

Open

#20,755 opened on Jun 8, 2016

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Scala (13,277 stars) (3,547 forks)batch import
1 - triagedhelp wantedt:coret:docs

Description

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

Contributor guide

Docs incorrectly state that SupervisorStrategy can't be changed · akka/akka-core#20755 | Good First Issue