workers: Memory based scheduling

This commit is contained in:
Łukasz Magiera
2020-03-20 23:30:17 +01:00
parent 076cc428af
commit c57c0e7f55
10 changed files with 575 additions and 36 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func (sm *StorageMinerAPI) WorkerConnect(ctx context.Context, url string) error
log.Infof("Connected to a remote worker at %s", url)
return sm.StorageMgr.AddWorker(w)
return sm.StorageMgr.AddWorker(ctx, w)
}
func (sm *StorageMinerAPI) MarketImportDealData(ctx context.Context, propCid cid.Cid, path string) error {