disable resource filtering on scheduler.

This commit is contained in:
Raúl Kripalani 2021-06-21 21:20:45 +01:00
parent b7a5e3cd0f
commit 4fcd0b7aca
2 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ func TestQuotePriceForUnsealedRetrieval(t *testing.T) {
kit.QuietMiningLogs()
client, miner, ens := kit.EnsembleMinimal(t, kit.MockProofs())
client, miner, ens := kit.EnsembleMinimal(t)
ens.InterconnectAll().BeginMining(blocktime)
var (

View File

@ -444,10 +444,10 @@ func (n *Ensemble) Start() *Ensemble {
// disable resource filtering so that local worker gets assigned tasks
// regardless of system pressure.
node.Override(new(*sectorstorage.SealerConfig), func() *sectorstorage.SealerConfig {
node.Override(new(sectorstorage.SealerConfig), func() sectorstorage.SealerConfig {
scfg := config.DefaultStorageMiner()
scfg.Storage.ResourceFiltering = sectorstorage.ResourceFilteringDisabled
return &scfg.Storage
return scfg.Storage
}),
}