summaryrefslogtreecommitdiff
path: root/internal/concurrency/workers.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/concurrency/workers.go')
-rw-r--r--internal/concurrency/workers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/concurrency/workers.go b/internal/concurrency/workers.go
index aeafeff12..65ce9e3ab 100644
--- a/internal/concurrency/workers.go
+++ b/internal/concurrency/workers.go
@@ -45,7 +45,7 @@ func NewWorkerPool[MsgType any](workers int, queueRatio int) *WorkerPool[MsgType
if workers < 1 {
// ensure sensible workers
- workers = runtime.GOMAXPROCS(0) * 2
+ workers = runtime.GOMAXPROCS(0) * 4
}
if queueRatio < 1 {
// ensure sensible ratio