exported DefaultCacheSize, not sure why i had unexproted

This commit is contained in:
Todd Gruben 2018-06-28 14:40:23 -05:00
parent a81e01b019
commit 4054f33ad5

View file

@ -38,7 +38,7 @@ const (
DefaultCacheType = CacheTypeRanked
// Default ranked field cache
defaultCacheSize = 50000
DefaultCacheSize = 50000
bitsPerWord = 32 << (^uint(0) >> 63) // either 32 or 64
maxInt = 1<<(bitsPerWord-1) - 1 // either 1<<31 - 1 or 1<<63 - 1