wire in copy throttling.

This commit is contained in:
Raúl Kripalani
2021-07-28 16:28:27 +01:00
parent 650d6efb1a
commit b6112c6fc9
4 changed files with 18 additions and 14 deletions
+6 -5
View File
@@ -609,11 +609,12 @@ func DagStoreWrapper(
}
cfg := dagstore.MarketDAGStoreConfig{
TransientsDir: filepath.Join(dagStoreDir, "transients"),
IndexDir: filepath.Join(dagStoreDir, "index"),
Datastore: dagStoreDS,
GCInterval: 1 * time.Minute,
MaxConcurrentIndex: 5,
TransientsDir: filepath.Join(dagStoreDir, "transients"),
IndexDir: filepath.Join(dagStoreDir, "index"),
Datastore: dagStoreDS,
GCInterval: 1 * time.Minute,
MaxConcurrentIndex: 5,
MaxConcurrentCopies: 2,
}
dsw, err := dagstore.NewDagStoreWrapper(cfg, lotusAccessor)