diff --git a/network/graphsync.go b/network/graphsync.go index 4c743746..ff701aea 100644 --- a/network/graphsync.go +++ b/network/graphsync.go @@ -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), )