summaryrefslogtreecommitdiffstats
path: root/src/matcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/matcher.go')
-rw-r--r--src/matcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matcher.go b/src/matcher.go
index d332b85b..4c00db7e 100644
--- a/src/matcher.go
+++ b/src/matcher.go
@@ -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)}
}