Skip to content

Conversation

@PeterSchafer
Copy link
Contributor

This PR extends the locking in the Configuration and improves it by using an RWMutex.

@PeterSchafer PeterSchafer requested review from a team as code owners October 30, 2024 17:32
@PeterSchafer PeterSchafer changed the title chore: use rwlocks in configuration chore: make configuration thread-safe Oct 30, 2024
@thisislawatts
Copy link
Member

@PeterSchafer are there tests we can introduce which verify the desired behaviour which is enabled through the use of RWMutex are available? I am guessing that would be multiple goroutines can hold read locks simultaneously.

@PeterSchafer PeterSchafer enabled auto-merge (squash) December 2, 2024 12:20
@PeterSchafer PeterSchafer merged commit a1ff367 into main Dec 2, 2024
9 checks passed
@PeterSchafer PeterSchafer deleted the chore/config_rwmutex branch December 2, 2024 12:24
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.

3 participants