Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bigcache will use arbitrary amounts of memory if HardMaxCacheSize is less than the number of shards. Work around this by setting max size to the number of shards if it's too small. This means we can't have a cache smaller than 4MB.
- Loading branch information