akka/akka-core

Docs incorrectly state that SupervisorStrategy can't be changed

Aberta

#20.755 aberto em 8 de jun. de 2016

 (7 comentários) (0 reação) (0 responsável)Scala (3.547 forks)batch import
1 - triagedhelp wantedt:coret:docs

Métricas do repositório

Stars
 (13.277 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d 19h) (10 fundiu PRs em 30d)

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

Guia do colaborador