Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix confusing error msg. during 2Q creation
For cases where the combination of 2Q size and ghostRatio result in evict cache of size 0, the error message displayed to the user is rather confusing. This commit proposes to fix the code and give a suitable error message to the user. Addresses: Issue hashicorp#51
- Loading branch information