We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I understand correctly, how it works, it should be:
diff --git a/collection.go b/collection.go index 6e92191..1a91b0c 100644 --- a/collection.go +++ b/collection.go @@ -245,6 +245,7 @@ func (t *Collection) EvictSomeItems() (numEvicted uint64) { }) if i != nil && err != nil { t.store.ItemDecRef(t, i) + numEvicted++ } return numEvicted }
The text was updated successfully, but these errors were encountered:
Hmm, I am not sure that this is correct. The actual eviction happens in CompareAndSwapPointer, not in ItemDecRef.
Sorry, something went wrong.
No branches or pull requests
If I understand correctly, how it works, it should be:
The text was updated successfully, but these errors were encountered: