Three more tweaks. #2413
This commit is contained in:
parent
086e1a0363
commit
aa0d4f4cfb
3 changed files with 16 additions and 15 deletions
|
|
@ -239,8 +239,8 @@ akka {
|
||||||
# calculating: ceil(available processors * factor)
|
# calculating: ceil(available processors * factor)
|
||||||
max-pool-size-factor = 3.0
|
max-pool-size-factor = 3.0
|
||||||
|
|
||||||
# Max number of threads to cap factor-based max number to (if using a
|
# Max number of threads to cap factor-based max number to
|
||||||
# bounded task queue)
|
# (if using a bounded task queue)
|
||||||
max-pool-size-max = 64
|
max-pool-size-max = 64
|
||||||
|
|
||||||
# Specifies the bounded capacity of the task queue (< 1 == unbounded)
|
# Specifies the bounded capacity of the task queue (< 1 == unbounded)
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,8 @@ object DispatcherDocSpec {
|
||||||
|
|
||||||
// We inherit, in this case, from UnboundedPriorityMailbox
|
// We inherit, in this case, from UnboundedPriorityMailbox
|
||||||
// and seed it with the priority generator
|
// and seed it with the priority generator
|
||||||
class MyPrioMailbox(settings: ActorSystem.Settings, config: Config) extends UnboundedPriorityMailbox(
|
class MyPrioMailbox(settings: ActorSystem.Settings, config: Config)
|
||||||
|
extends UnboundedPriorityMailbox(
|
||||||
// Create a new PriorityGenerator, lower prio means more important
|
// Create a new PriorityGenerator, lower prio means more important
|
||||||
PriorityGenerator {
|
PriorityGenerator {
|
||||||
// 'highpriority messages should be treated first if possible
|
// 'highpriority messages should be treated first if possible
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue