Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #126 from ipfs/fix/cpu-usage
Browse files Browse the repository at this point in the history
Fix CPU usage
  • Loading branch information
aarshkshah1992 authored May 24, 2023
2 parents 03cc07b + 42c56eb commit 3e42860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/graph_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ func (api *GraphGateway) loadRequestIntoSharedBlockstoreAndBlocksGateway(ctx con
select {
case blkCh <- blk:
case <-cbCtx.Done():
return
}
}
}()
Expand Down

0 comments on commit 3e42860

Please sign in to comment.