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 unused warnings #1366

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Fix unused warnings #1366

merged 1 commit into from
Jul 28, 2023

Conversation

JakeSiFive
Copy link
Contributor

I intentionally added un-checked writes to the system. These occur in single threaded instances where we can't block until they succeed, and we don't want to fail the whole system just because they fail, additionally if the log fails we can't log that fact because this is the logger and it would create a logger loop if we created an event that we also processed. We could add a tag to it to tell the json subscriber specifically to not process that event but it just gets complicated. So instead we just do the write (which should be a single atomic append) and we move on.

@JakeSiFive JakeSiFive merged commit 3b4b98c into master Jul 28, 2023
13 checks passed
@JakeSiFive JakeSiFive deleted the fix_unused_warnings branch July 28, 2023 18:27
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