Adjust pool size of default-dispatcher. See #1654
* Changed reference.conf core-pool-size-min = 6 core-pool-size-factor = 3.0 core-pool-size-max = 64 max-pool-size-min = 6 max-pool-size-factor = 3.0 max-pool-size-max = 64 * Limited to smaller pool size in AkkaSpec * Adjusted some tests that needed more threads
This commit is contained in:
parent
387ffe1bce
commit
517fceae34
5 changed files with 49 additions and 11 deletions
|
|
@ -7,8 +7,21 @@ import akka.testkit._
|
|||
import akka.util.duration._
|
||||
import akka.dispatch.Await
|
||||
|
||||
object ConfiguredLocalRoutingSpec {
|
||||
val config = """
|
||||
akka {
|
||||
actor {
|
||||
default-dispatcher {
|
||||
core-pool-size-min = 8
|
||||
core-pool-size-max = 16
|
||||
}
|
||||
}
|
||||
}
|
||||
"""
|
||||
}
|
||||
|
||||
@org.junit.runner.RunWith(classOf[org.scalatest.junit.JUnitRunner])
|
||||
class ConfiguredLocalRoutingSpec extends AkkaSpec with DefaultTimeout with ImplicitSender {
|
||||
class ConfiguredLocalRoutingSpec extends AkkaSpec(ConfiguredLocalRoutingSpec.config) with DefaultTimeout with ImplicitSender {
|
||||
|
||||
val deployer = system.asInstanceOf[ActorSystemImpl].provider.deployer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue