Three more tweaks. #2413

This commit is contained in:
Björn Antonsson 2012-10-02 11:09:38 +02:00
parent 086e1a0363
commit aa0d4f4cfb
3 changed files with 16 additions and 15 deletions

View file

@ -239,8 +239,8 @@ akka {
# calculating: ceil(available processors * factor)
max-pool-size-factor = 3.0
# Max number of threads to cap factor-based max number to (if using a
# bounded task queue)
# Max number of threads to cap factor-based max number to
# (if using a bounded task queue)
max-pool-size-max = 64
# Specifies the bounded capacity of the task queue (< 1 == unbounded)

View file

@ -112,7 +112,8 @@ object DispatcherDocSpec {
// We inherit, in this case, from UnboundedPriorityMailbox
// 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
PriorityGenerator {
// 'highpriority messages should be treated first if possible