mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-31 04:02:01 -07:00
Set the upper limit of the number of search go routines
This commit is contained in:
@@ -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)}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user