Reduce default storage miner worker count
The current default worker count of 5 can result in high memory usage of the lotus-storage-miner process when a user starts multiple sector pledges within a short time of each other and can result in the process being killed for OOM. Reducing the worker count to 2 will provide a safer default.
This commit is contained in:
parent
bce50a802b
commit
c362d75a38
@ -96,7 +96,7 @@ func DefaultStorageMiner() *StorageMiner {
|
||||
Common: defCommon(),
|
||||
|
||||
SectorBuilder: SectorBuilder{
|
||||
WorkerCount: 5,
|
||||
WorkerCount: 2,
|
||||
},
|
||||
}
|
||||
cfg.Common.API.ListenAddress = "/ip4/127.0.0.1/tcp/2345/http"
|
||||
|
Loading…
Reference in New Issue
Block a user