Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made use of AsyncNonKeyedLocker; bumped AsyncKeyedLock library. #239

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

MarkCiliaVincenti
Copy link
Contributor

No description provided.

Copy link

what-the-diff bot commented Apr 21, 2024

PR Summary

  • Updated Locking Package Version
    The software package that helps manage access to resources, known as 'AsyncKeyedLock', has been updated to the latest version. This is done in the EFCoreSecondLevelCacheInterceptor.csproj file.

  • Integrated AsyncKeyedLock in EFServiceProvider
    The 'AsyncKeyedLock' package is now fully integrated into the EFServiceProvider.cs file. This ensures we can use the functions provided by this package in managing resources efficiently.

  • Revised Thread Synchronization Approach
    Previously, we used a method called SemaphoreSlim for controlling access to resources across different threads in our system. In the EFServiceProvider.cs file, including its methods GetConnectionString and RunInContextAsync, we have switched to using an improved method known as 'AsyncNonKeyedLocker', provided by our updated 'AsyncKeyedLock' package. This new method should provide better efficiency and performance in our system's operations.

@VahidN VahidN merged commit ad169cd into VahidN:master Apr 21, 2024
3 checks passed
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