remove MaxConcurrentReadyFetches=2 default value.

This was there to deal with migration IO workload. This is no
longer a problem with the new migration logic. The initialize-all
operation/command deals with concurrency.

For ongoing operation, miners can set the value they wish, but
we do not make a decision for them by default, because each
deployment can handle different IO loads.
This commit is contained in:
Raúl Kripalani 2021-08-06 12:24:13 +01:00
parent b418f82cf5
commit a0f1696f36

View File

@ -191,7 +191,6 @@ func DefaultStorageMiner() *StorageMiner {
DAGStore: DAGStoreConfig{ DAGStore: DAGStoreConfig{
MaxConcurrentIndex: 5, MaxConcurrentIndex: 5,
MaxConcurrentReadyFetches: 2,
MaxConcurrencyStorageCalls: 100, MaxConcurrencyStorageCalls: 100,
GCInterval: Duration(1 * time.Minute), GCInterval: Duration(1 * time.Minute),
}, },