-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the fluentSink implementation was not thread-safe. On configurations with multiple `loggerT` instances the fluentSink interface would be shared between them and could cause panics at runtime. This commit adds a mutex to the fluentSink implementation that is locked during output. NB: httpSink is already thread safe by construction and interceptorSink already has a mutex that manages concurrent access. Resolves #81112 Release note: None
- Loading branch information
1 parent
4d7c8f3
commit 4f97a10
Showing
2 changed files
with
38 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters