From dc9968dda7fec0ccfedece4a57d24b998fe7315b Mon Sep 17 00:00:00 2001 From: Roland Date: Wed, 4 Jul 2012 14:57:59 +0200 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20encourage=20thread=20leaks=20so?= =?UTF-8?q?=20easily=20(initialCommands)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/AkkaBuild.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/AkkaBuild.scala b/project/AkkaBuild.scala index 244073b013..f3fce8154c 100644 --- a/project/AkkaBuild.scala +++ b/project/AkkaBuild.scala @@ -42,10 +42,10 @@ object AkkaBuild extends Build { |import com.typesafe.config.ConfigFactory |import akka.util.duration._ |import akka.util.Timeout - |val config = ConfigFactory.parseString("akka.daemonic=on") + |val config = ConfigFactory.parseString("akka.stdout-loglevel=INFO,akka.loglevel=DEBUG") |val remoteConfig = ConfigFactory.parseString("akka.remote.netty{port=0,use-dispatcher-for-io=akka.actor.default-dispatcher,execution-pool-size=0},akka.actor.provider=RemoteActorRefProvider").withFallback(config) |var system: ActorSystem = null - |def startSystem(remoting: Boolean = false) { system = ActorSystem("repl", if(remoting) remoteConfig else config) } + |def startSystem(remoting: Boolean = false) { system = ActorSystem("repl", if(remoting) remoteConfig else config); println("don’t forget to system.shutdown()!") } |implicit def ec = system.dispatcher |implicit val timeout = Timeout(5 seconds) |""".stripMargin,