triggermesh / brokers

TriggerMesh broker implementations: Redis backed and Memory
Apache License 2.0
6 stars 12 forks source link

[Status]Fix deadlock at status update #170

Closed odacremolbap closed 1 year ago

odacremolbap commented 1 year ago

The status reconcile cycle acquires a lock at its body. It can also me invoked via a channel. The channel sender caller also acquires the lock, and if the channel is full, it will deadlock.

This PR fixes the issue.