Skip to content

Commit

Permalink
remove line
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed Mar 26, 2021
1 parent 3693168 commit 0c809a0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions node/modules/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ import (
"github.com/filecoin-project/lotus/node/repo/retrievalstoremgr"
)

const (
storageClientDealPollingInterval = 5 * time.Second
)

func HandleMigrateClientFunds(lc fx.Lifecycle, ds dtypes.MetadataDS, wallet full.WalletAPI, fundMgr *market.FundManager) {
lc.Append(fx.Hook{
OnStart: func(ctx context.Context) error {
Expand Down Expand Up @@ -189,7 +185,7 @@ func StorageClient(lc fx.Lifecycle, h host.Host, ibs dtypes.ClientBlockstore, md
marketsRetryParams := smnet.RetryParameters(time.Second, 5*time.Minute, 15, 5)
net := smnet.NewFromLibp2pHost(h, marketsRetryParams)

c, err := storageimpl.NewClient(net, ibs, mds, dataTransfer, discovery, deals, scn, storageimpl.DealPollingInterval(storageClientDealPollingInterval))
c, err := storageimpl.NewClient(net, ibs, mds, dataTransfer, discovery, deals, scn, storageimpl.DealPollingInterval(1*time.Second))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0c809a0

Please sign in to comment.