ttlcache v2.7.0 Release Notes

Release Date: 2021-06-01 // almost 3 years ago
  • 46 : got panic

    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.

    🛠 Fixed this by applying the global cache lock to all configuration options as well.