extern/storage: retype resource filtering strategy to enum.

This commit is contained in:
Raúl Kripalani
2021-06-21 20:28:15 +01:00
parent f3b6f8de1a
commit b6147fb27f
4 changed files with 81 additions and 31 deletions
+3
View File
@@ -342,6 +342,9 @@ func DefaultStorageMiner() *StorageMiner {
// Default to 10 - tcp should still be able to figure this out, and
// it's the ratio between 10gbit / 1gbit
ParallelFetchLimit: 10,
// By default use the hardware resource filtering strategy.
ResourceFiltering: sectorstorage.ResourceFilteringHardware,
},
Dealmaking: DealmakingConfig{