Skip to content

Commit

Permalink
Merge pull request #82 from filecoin-project/feat/seperate_sumultance…
Browse files Browse the repository at this point in the history
…_setting

Feat/seperate sumultance setting
  • Loading branch information
diwufeiwen authored Jan 6, 2022
2 parents 6f6343e + 5a88dae commit a946da8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network/graphsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func NewGraphsync(simultaneousTransfersForRetrieval, simultaneousTransfersForSto

gs := graphsyncimpl.New(metrics.LifecycleCtx(mctx, lc), graphsyncNetwork, lsys,
graphsyncimpl.RejectAllRequestsByDefault(),
graphsyncimpl.MaxInProgressIncomingRequests(simultaneousTransfersForRetrieval),
graphsyncimpl.MaxInProgressOutgoingRequests(simultaneousTransfersForStorage),
graphsyncimpl.MaxInProgressIncomingRequests(simultaneousTransfersForStorage),
graphsyncimpl.MaxInProgressOutgoingRequests(simultaneousTransfersForRetrieval),
graphsyncimpl.MaxLinksPerIncomingRequests(MaxTraversalLinks),
graphsyncimpl.MaxLinksPerOutgoingRequests(MaxTraversalLinks),
)
Expand Down

0 comments on commit a946da8

Please sign in to comment.