-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always write SyncFinished events (#67)
* Always write SyncFinished events SyncFinished events are always written to a queue without blocking. - Subscriber does not block all other sync goroutines to send a SyncFinished event, when readers are busy. - SyncFinished events are not lost - Subscriber can continue to update ad chains asynchronously to processing those chains. Fixes deadlock when: - sti workers are blocked waiting for sync handler - sync handler is blocked writing SyncFinished event - SyncFinished not being read because sti workers busy
- Loading branch information
Showing
4 changed files
with
71 additions
and
79 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
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