Merge pull request #18184 from KadekM/todo-si6208-fix-kadekm

tiny update to code as SI-6208 is resolved
This commit is contained in:
Konrad Malawski 2015-08-12 23:22:13 +02:00
commit 986c5e8934

View file

@ -116,8 +116,7 @@ trait Inbox { this: ActorDSL.type ⇒
val toKick = overdue.next()
toKick.client ! Status.Failure(new TimeoutException("deadline passed"))
}
// TODO: this wants to lose the `Queue.empty ++=` part when SI-6208 is fixed
clients = Queue.empty ++= clients.filterNot(pred)
clients = clients.filterNot(pred)
clientsByTimeout = clientsByTimeout.from(Get(now))
case msg
if (clients.isEmpty) enqueueMessage(msg)