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

Don't capture signals within lib #991

Merged
merged 4 commits into from
Feb 7, 2023
Merged

Conversation

freesig
Copy link
Contributor

@freesig freesig commented Feb 6, 2023

closes #980

@freesig freesig added the bug Something isn't working label Feb 6, 2023
@freesig freesig self-assigned this Feb 6, 2023
@@ -218,7 +218,7 @@ where
}
}

#[tracing::instrument(skip_all)]
#[tracing::instrument(skip_all, fields(service = S::NAME))]
Copy link
Member

Choose a reason for hiding this comment

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

This is cool! Didn't realize this was an available option to annotate all the logs from a struct instance.

tests/tests/messages.rs Outdated Show resolved Hide resolved
Co-authored-by: Brandon Kite <brandonkite92@gmail.com>
@freesig freesig enabled auto-merge (squash) February 7, 2023 00:02
@freesig freesig merged commit e55a260 into master Feb 7, 2023
@freesig freesig deleted the freesig/fix-tests-hanging branch February 7, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests leave zombie process
3 participants