Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

AttributedTypeResolver - Adds locks to prevent concurrency issue #241

Merged
merged 1 commit into from
Dec 7, 2018

Conversation

leekelleher
Copy link
Collaborator

@leekelleher leekelleher commented Sep 28, 2018

Second attempt to fix #238


I originally thought that using a ConcurrentDictionary would mitigate from the concurrency issue, as outlined in issue #238. But that doesn't appear to be the case. I'm not sure why we'd want to use a ConcurrentDictionary if it's not working as expected - which, is most likely due to my understanding of how it actually works. This patch changes from using ConcurrentDictionary to a regular generic Dictionary, adding locks to prevent concurrently issues between reads/writes.

@leekelleher leekelleher self-assigned this Sep 28, 2018
@leekelleher leekelleher changed the title AttributedTypeResolver - Adds lock to prevent concurrency issue AttributedTypeResolver - Adds locks to prevent concurrency issue Sep 28, 2018
@leekelleher leekelleher merged commit b993561 into develop Dec 7, 2018
@leekelleher leekelleher deleted the patch/238-concurrency branch December 7, 2018 10:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
1 participant