remove dead code

This commit is contained in:
aarshkshah1992 2021-07-27 22:16:45 +05:30
parent 109a8242ae
commit 944aeed13e
2 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ type MarketDAGStoreConfig struct {
TransientsDir string TransientsDir string
IndexDir string IndexDir string
Datastore ds.Datastore Datastore ds.Datastore
MaxConcurrentFetch int
MaxConcurrentIndex int MaxConcurrentIndex int
GCInterval time.Duration GCInterval time.Duration
} }

View File

@ -614,7 +614,6 @@ func DagStoreWrapper(
Datastore: dagStoreDS, Datastore: dagStoreDS,
GCInterval: 1 * time.Minute, GCInterval: 1 * time.Minute,
MaxConcurrentIndex: 5, MaxConcurrentIndex: 5,
MaxConcurrentFetch: 2,
} }
dsw, err := dagstore.NewDagStoreWrapper(cfg, lotusAccessor) dsw, err := dagstore.NewDagStoreWrapper(cfg, lotusAccessor)