Skip to content
Snippets Groups Projects
Unverified Commit 877a0775 authored by capossele's avatar capossele
Browse files

:zap: Reduce solidifier worker pool capacity

parent 865ffd74
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ package tangle
import (
"container/list"
"runtime"
"time"
"github.com/iotaledger/hive.go/kvstore"
......@@ -65,7 +66,7 @@ func New(store kvstore.KVStore) (result *Tangle) {
Events: *newEvents(),
}
result.solidifierWorkerPool.Tune(1024)
result.solidifierWorkerPool.Tune(runtime.NumCPU())
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment