Fixing logic bug introduced in refactor
This commit is contained in:
parent
22f0062f23
commit
7784513537
2 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ class BalancingDispatcher(
|
|||
@tailrec def scheduleOne(i: Iterator[ActorCell] = team.iterator): Unit =
|
||||
if (messageQueue.hasMessages
|
||||
&& i.hasNext
|
||||
&& (executorService match {
|
||||
&& (executorService.executor match {
|
||||
case lm: LoadMetrics ⇒ lm.atFullThrottle == false
|
||||
case other ⇒ true
|
||||
})
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ class Dispatcher(
|
|||
@volatile private var executorServiceDelegate: LazyExecutorServiceDelegate =
|
||||
new LazyExecutorServiceDelegate(executorServiceFactoryProvider.createExecutorServiceFactory(id, prerequisites.threadFactory))
|
||||
|
||||
protected final def executorService: ExecutorService = executorServiceDelegate
|
||||
protected final def executorService: ExecutorServiceDelegate = executorServiceDelegate
|
||||
|
||||
/**
|
||||
* INTERNAL USE ONLY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue