rename MainBus to EventStream (incl. field in ActorSystem)
This commit is contained in:
parent
945b1aedf9
commit
53353d7031
30 changed files with 88 additions and 88 deletions
|
|
@ -227,10 +227,10 @@ class BoundedExecutorDecorator(val app: ActorSystem, val executor: ExecutorServi
|
|||
})
|
||||
} catch {
|
||||
case e: RejectedExecutionException ⇒
|
||||
app.mainbus.publish(Warning(this, e.toString))
|
||||
app.eventStream.publish(Warning(this, e.toString))
|
||||
semaphore.release
|
||||
case e: Throwable ⇒
|
||||
app.mainbus.publish(Error(e, this, e.getMessage))
|
||||
app.eventStream.publish(Error(e, this, e.getMessage))
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue