add dispatcher.shutdown() at app stop and make core pool size smaller to let the tests run

This commit is contained in:
Roland 2011-10-25 15:08:44 +02:00
parent 6bcdba40c0
commit 173ef048ce
2 changed files with 3 additions and 1 deletions

View file

@ -214,4 +214,6 @@ class AkkaApplication(val name: String, val config: Configuration) extends Actor
guardian.stop()
}
terminationFuture.onComplete(_ dispatcher.shutdown())
}

View file

@ -9,7 +9,7 @@ akka {
event-handler-level = "WARNING"
actor {
default-dispatcher {
core-pool-size = 8
core-pool-size = 4
max-pool-size = 32
}
}