Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zmq race condition #13198

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Fix zmq race condition #13198

merged 1 commit into from
Aug 19, 2024

Conversation

NickM-27
Copy link
Sponsor Collaborator

ZMQ is not thread safe, in some cases of very high activity a topic could be sent at the same time as a payload causing a race condition that broke the zmq reader. This can be fixed by sending the entire topic and payload as one message and is generally how ZMQ recommends doing it anyway.

@hawkeye217 hawkeye217 merged commit c866331 into 0.15 Aug 19, 2024
6 checks passed
@hawkeye217 hawkeye217 deleted the fix-zmq-race branch August 19, 2024 21:23
NickM-27 added a commit that referenced this pull request Aug 23, 2024
NickM-27 added a commit that referenced this pull request Aug 29, 2024
NickM-27 added a commit that referenced this pull request Aug 30, 2024
iursevla pushed a commit to iursevla/frigate-fork that referenced this pull request Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants