Skip to content

Remove custom locking in KeyedServiceCollectionAdapter#7757

Open
danielmarbach wants to merge 1 commit into
masterfrom
remove-gating-on-keyed
Open

Remove custom locking in KeyedServiceCollectionAdapter#7757
danielmarbach wants to merge 1 commit into
masterfrom
remove-gating-on-keyed

Conversation

@danielmarbach
Copy link
Copy Markdown
Contributor

@danielmarbach danielmarbach commented May 13, 2026

Follow up on #7756

Remove custom locking in KeyedServiceCollectionAdapter because the main collection is already thread-safe, and we don't need to double lock since this locking would also affect production scenarios, which are inherently not thread-safe anyway, and the code was only introduced to make concurrent endpoint initialization in acceptance tests thread-safe.

…in collection is already thread-safe and we don't need to double lock since this locking would also affect production scenarios which are inheritently not thread safe anyway and the code was only introduced to make concurrent endpoint initialization thread safe.
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