Skip to content

Conversation

podtserkovskiy
Copy link
Contributor

Make operations with global logger thread-safe.

Motivation:

We have race-conditions when use multiple multiple rsocket servers for tests concurrently.

Modifications:

Protected variables using RWMutex.

Result:

It's thread-safe now.

Copy link
Member

@jjeffcaii jjeffcaii left a comment

Choose a reason for hiding this comment

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

LGTM

@jjeffcaii jjeffcaii merged commit 2347d76 into rsocket:master Oct 9, 2025
2 checks passed
@podtserkovskiy podtserkovskiy deleted the thread_safe_logger branch October 9, 2025 19:01
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