From 48cf736f950bf2fbf4c1420d4833e5094c01a19b Mon Sep 17 00:00:00 2001 From: Markus Hauck Date: Tue, 13 Oct 2015 12:31:01 +0200 Subject: [PATCH] =doc Missing `by` in Actors/Initialization patterns --- akka-docs/rst/scala/actors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/rst/scala/actors.rst b/akka-docs/rst/scala/actors.rst index 12a5ba9815..588fa79dd3 100644 --- a/akka-docs/rst/scala/actors.rst +++ b/akka-docs/rst/scala/actors.rst @@ -948,7 +948,7 @@ Initialization via preStart The method ``preStart()`` of an actor is only called once directly during the initialization of the first instance, that is, at creation of its ``ActorRef``. In the case of restarts, ``preStart()`` is called from ``postRestart()``, therefore -if not overridden, ``preStart()`` is called on every incarnation. However, overriding ``postRestart()`` one can disable +if not overridden, ``preStart()`` is called on every incarnation. However, by overriding ``postRestart()`` one can disable this behavior, and ensure that there is only one call to ``preStart()``. One useful usage of this pattern is to disable creation of new ``ActorRefs`` for children during restarts. This can be