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

🚨 recover from panic's inside goroutines #1525

Merged
merged 1 commit into from
Dec 27, 2024
Merged

🚨 recover from panic's inside goroutines #1525

merged 1 commit into from
Dec 27, 2024

Conversation

afiune
Copy link
Contributor

@afiune afiune commented Dec 27, 2024

The main cnspec goroutine has already a recover() statement, though Go doesn't
share that between goroutines and since the calculation of the policies happen on
another thread, we were not reporting upstream.

The main cnspec goroutine has already a `recover()` statement, though Go
doesn't share that between goroutines and since the calculation of the
policies happen on another thread, we were not reporting upstream.

Signed-off-by: Salim Afiune Maya <[email protected]>
Copy link
Contributor

@czunker czunker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks @afiune

@afiune afiune merged commit 14033d6 into main Dec 27, 2024
7 checks passed
@afiune afiune deleted the afiune/panic branch December 27, 2024 13:55
@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2024
@chris-rock chris-rock requested a review from jaym December 27, 2024 13:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants