Skip to content

Dont use static fields to keep track of locks#43

Merged
perrich merged 1 commit into
perrich:masterfrom
Spacefish:master
Jul 31, 2023
Merged

Dont use static fields to keep track of locks#43
perrich merged 1 commit into
perrich:masterfrom
Spacefish:master

Conversation

@Spacefish

Copy link
Copy Markdown
Contributor

This is to increase separation between multiple instances of the Memory Storage during Unit Tests which execute in parallel.

…urn the same conenction instance when calling GetConnection() in MemoryStorage
@perrich

perrich commented Jul 31, 2023

Copy link
Copy Markdown
Owner

Static removing looks good. Thanks

@perrich
perrich merged commit 25b5c2e into perrich:master Jul 31, 2023
@agehrke

agehrke commented Feb 23, 2024

Copy link
Copy Markdown

Great change! I actually need this to run concurrent tests of a Host using Hangfire. Getting DistributedLockTimeoutException at the moment. Any chance you could release this, @perrich?

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