Correction to filter+++
This commit is contained in:
parent
c86ea07073
commit
98437a0891
@ -94,7 +94,7 @@ abstract class EventCoordinator<T : EventImpl, E : EventsManagerImpl<T>> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val bashed = bashingReferenceObject[referenceId]?.takeLast(10) ?: emptyList()
|
val bashed = bashingReferenceObject[referenceId]?.takeLast(10) ?: emptyList()
|
||||||
if (bashed.size == 10 && bashed.all { it == bashed.first() }) {
|
if (bashed.size == 10 && bashed.all { it.first == bashed.first().first }) {
|
||||||
// We have entered a deadlock here
|
// We have entered a deadlock here
|
||||||
// Due to the nature of the deadlock the event will be determined to be dead
|
// Due to the nature of the deadlock the event will be determined to be dead
|
||||||
log.error { "Producing Failure on $referenceId on event ${event.eventType} due to deadlock in $listenerName" }
|
log.error { "Producing Failure on $referenceId on event ${event.eventType} due to deadlock in $listenerName" }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user