mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
e3: exec to use half of CPU's by default
This commit is contained in:
parent
4087510c2e
commit
f69f7095bb
@ -71,7 +71,7 @@ var LightClientGPO = gasprice.Config{
|
||||
var Defaults = Config{
|
||||
Sync: Sync{
|
||||
UseSnapshots: false,
|
||||
ExecWorkerCount: 2,
|
||||
ExecWorkerCount: estimate.ReconstituteState.WorkersHalf(), //only half of CPU, other half will spend for snapshots build/merge/prune
|
||||
ReconWorkerCount: estimate.ReconstituteState.Workers(),
|
||||
BodyCacheLimit: 256 * 1024 * 1024,
|
||||
BodyDownloadTimeoutSeconds: 30,
|
||||
|
Loading…
Reference in New Issue
Block a user