Skip to content

Commit c5ca8f1

Browse files
author
Rene Kroon
committed
Release
1 parent 4b2d84a commit c5ca8f1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 2.7.0 (June 2021)
2+
3+
#46 : got panic
4+
5+
A panic occured in a line that checks the maximum amount of items in the cache. While not definite root cause has been found, there is indeed the possibility of crashing an empty cache if the cache limit is set to 'zero' which codes for infinite. This would lead to removal of the first item in the cache which would panic on an empty cache.
6+
7+
Fixed this by applying the global cache lock to all configuration options as well.
8+
19
# 2.6.0 (May 2021)
210

311
#44 : There are no API changes, but a contribution was made to use https://pkg.go.dev/golang.org/x/sync/singleflight as a way to provide everybody waiting for a key with that key when it's fetched.

0 commit comments

Comments
 (0)