forked from raiden-network/raiden
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix retry-queue's enqueue() blocked by semaphore
Before, the retry-queues semaphore had to be acquired in order to enqueue messages. This caused the thought to be asynchronous enqueue() method and all methods calling it to be dependent on successfully processing all messages in the queues greenlet that processes the queue. Effectively this resulted in a synchronous enqueue() call and could cause the state-machine to block during long-running requests or retries to the transport layer. Fixes: raiden-network#7120
- Loading branch information
Showing
2 changed files
with
72 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters