This commit is contained in:
Anton Evangelatov 2021-07-07 18:00:28 +02:00
parent bb466ede66
commit 82efe01c70
2 changed files with 1 additions and 2 deletions

View File

@ -375,7 +375,7 @@ func New(ctx context.Context, opts ...Option) (StopFunc, error) {
fx.Options(ctors...),
fx.Options(settings.invokes...),
//fx.NopLogger,
fx.NopLogger,
)
// TODO: we probably should have a 'firewall' for Closing signal

View File

@ -686,7 +686,6 @@ func LocalStorage(mctx helpers.MetricsCtx, lc fx.Lifecycle, ls stores.LocalStora
}
func RemoteStorage(lstor *stores.Local, si stores.SectorIndex, sa sectorstorage.StorageAuth, sc sectorstorage.SealerConfig) *stores.Remote {
fmt.Printf("setting RemoteStorage: %#v \n", sa) // TODO(anteva): remove me prior to merge to master
return stores.NewRemote(lstor, si, http.Header(sa), sc.ParallelFetchLimit, &stores.DefaultPartialFileHandler{})
}