upgrade to dagstore v0.4.0.

This commit is contained in:
Raúl Kripalani
2021-07-30 15:33:01 +01:00
parent 932767d014
commit b63858f210
4 changed files with 18 additions and 18 deletions
+6 -6
View File
@@ -627,12 +627,12 @@ func DagStoreWrapper(
}
cfg := dagstore.MarketDAGStoreConfig{
TransientsDir: filepath.Join(dagStoreDir, "transients"),
IndexDir: filepath.Join(dagStoreDir, "index"),
Datastore: dagStoreDS,
GCInterval: 1 * time.Minute,
MaxConcurrentIndex: 5,
MaxConcurrentCopies: maxCopies,
TransientsDir: filepath.Join(dagStoreDir, "transients"),
IndexDir: filepath.Join(dagStoreDir, "index"),
Datastore: dagStoreDS,
GCInterval: 1 * time.Minute,
MaxConcurrentIndex: 5,
MaxConcurrentReadyFetches: maxCopies,
}
dsw, err := dagstore.NewDagStoreWrapper(cfg, lotusAccessor)