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 concurrent deadlock #30

Merged
merged 1 commit into from
May 3, 2024
Merged

Conversation

paramite
Copy link
Member

@paramite paramite commented May 2, 2024

Receivers loops were not stopped when Reconnect was called, which might have get to a corner case where the loop could iterate on a conn.receivers map in the middle of recreation process. This patch is fixing it.

@paramite paramite force-pushed the map-deadlock-fix branch 2 times, most recently from db4695d to eb8eb30 Compare May 3, 2024 13:59
Receivers loops were not stopped when Reconnect was called,
which might have get to a corner case where the loop could
iterate on a conn.receivers map in the middle of recreation
process. This patch is fixing it.
@paramite paramite force-pushed the map-deadlock-fix branch from eb8eb30 to e6a3f4d Compare May 3, 2024 14:11
@paramite paramite merged commit 2f2621b into infrawatch:master May 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants