mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-03 04:28:36 +00:00
Set the upper limit of the number of search go routines
This commit is contained in:
parent
01ee335521
commit
f7f01d109e
@ -43,7 +43,7 @@ func NewMatcher(patternBuilder func([]rune) *Pattern,
|
||||
tac: tac,
|
||||
eventBox: eventBox,
|
||||
reqBox: util.NewEventBox(),
|
||||
partitions: 16 * runtime.NumCPU(),
|
||||
partitions: util.Min(8*runtime.NumCPU(), 32),
|
||||
mergerCache: make(map[string]*Merger)}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user