test: for dag store wrapper

This commit is contained in:
Dirk McCormick
2021-07-20 15:05:08 +02:00
parent 16be5b5478
commit 8becd922cf
4 changed files with 224 additions and 11 deletions
+1
View File
@@ -588,6 +588,7 @@ func DagStoreWrapper(
TransientsDir: filepath.Join(dagStoreDir, "transients"),
IndexDir: filepath.Join(dagStoreDir, "index"),
Datastore: dagStoreDS,
GCInterval: 5 * time.Minute,
}
mountApi := dagstore.NewLotusMountAPI(pieceStore, rpn)
dsw, err := dagstore.NewDagStoreWrapper(cfg, mountApi)