change from const to var so apps can adjust value
This commit is contained in:
parent
521003d543
commit
c5465eccb1
|
@ -19,7 +19,7 @@ import (
|
|||
|
||||
// PreAllocSizeSkipCap will cap preallocation to this amount when
|
||||
// size+skip exceeds this value
|
||||
const PreAllocSizeSkipCap = 1000
|
||||
var PreAllocSizeSkipCap = 1000
|
||||
|
||||
type collectorCompare func(i, j *search.DocumentMatch) int
|
||||
|
||||
|
|
Loading…
Reference in New Issue