diff --git a/src/main/java/com/example/GreeterMain.java b/src/main/java/com/example/GreeterMain.java index 1b645b7..ca1bf5f 100644 --- a/src/main/java/com/example/GreeterMain.java +++ b/src/main/java/com/example/GreeterMain.java @@ -35,7 +35,7 @@ public class GreeterMain extends AbstractBehavior { private Behavior onSayHello(SayHello command) { //#create-actors ActorRef replyTo = - getContext().spawn(GreeterBot.create(3), command.name); + getContext().spawn(GreeterBot.create(6), command.name); greeter.tell(new Greeter.Greet(command.name, replyTo)); //#create-actors return this;