ttlcache v2.6.0 Release Notes

Release Date: 2021-05-01 // 7 months ago
  • ๐Ÿ”€ #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.

    ๐Ÿšš This removes some complexity from the code and will make sure that all callers will get a return value even if there's high concurrency and low TTL (as proven by the test that was added).