Fixing ticket 413
This commit is contained in:
parent
e02744425d
commit
fc77a138e7
2 changed files with 13 additions and 6 deletions
|
|
@ -116,6 +116,10 @@ class ExecutorBasedEventDrivenDispatcher(
|
|||
val started = if (isDeadlineEnabled) System.currentTimeMillis else 0
|
||||
do {
|
||||
nextMessage.invoke
|
||||
|
||||
if (nextMessage.receiver.isBeingRestarted)
|
||||
return !self.isEmpty
|
||||
|
||||
if (throttle) { // Will be elided when false
|
||||
processedMessages += 1
|
||||
if ((processedMessages >= throughput) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue