Adding daemonicity to the dispatcher configurator
This commit is contained in:
parent
7b7402c723
commit
89e29b07e1
3 changed files with 3 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ abstract class MessageDispatcherConfigurator() {
|
|||
|
||||
//Apply the following options to the config if they are present in the config
|
||||
|
||||
ThreadPoolConfigDispatcherBuilder(createDispatcher, ThreadPoolConfig())
|
||||
ThreadPoolConfigDispatcherBuilder(createDispatcher, ThreadPoolConfig(daemonic = config getBoolean "daemonic"))
|
||||
.setKeepAliveTime(Duration(config getMilliseconds "keep-alive-time", TimeUnit.MILLISECONDS))
|
||||
.setAllowCoreThreadTimeout(config getBoolean "allow-core-timeout")
|
||||
.setCorePoolSizeFromFactor(config getInt "core-pool-size-min", config getDouble "core-pool-size-factor", config getInt "core-pool-size-max")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue