add dispatcher.shutdown() at app stop and make core pool size smaller to let the tests run
This commit is contained in:
parent
6bcdba40c0
commit
173ef048ce
2 changed files with 3 additions and 1 deletions
|
|
@ -214,4 +214,6 @@ class AkkaApplication(val name: String, val config: Configuration) extends Actor
|
|||
guardian.stop()
|
||||
}
|
||||
|
||||
terminationFuture.onComplete(_ ⇒ dispatcher.shutdown())
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ akka {
|
|||
event-handler-level = "WARNING"
|
||||
actor {
|
||||
default-dispatcher {
|
||||
core-pool-size = 8
|
||||
core-pool-size = 4
|
||||
max-pool-size = 32
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue