-
Notifications
You must be signed in to change notification settings - Fork 4
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
Spawn a new goroutine when calling EvictionCallback
#44
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #44 +/- ##
==========================================
+ Coverage 95.53% 95.58% +0.04%
==========================================
Files 8 8
Lines 717 724 +7
==========================================
+ Hits 685 692 +7
Misses 28 28
Partials 4 4
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add tests for long running EvictionCallback
and check if Cache
and/or Sharded
methods do not block.
This PR adds spawning a new goroutine when calling
EvictionCallback
.Fixes: #41