Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ commands:
- when:
condition: << parameters.linux >>
steps:
- run: sudo apt-get update
- run: sudo apt-get update --allow-releaseinfo-change
- run: sudo apt-get install ocl-icd-opencl-dev
build-all:

Expand Down
6 changes: 5 additions & 1 deletion transport/graphsync/graphsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ func (t *Transport) consumeResponses(responseChan <-chan graphsync.ResponseProgr
// Read from the graphsync response and error channels until they are closed
// or there is an error, then call the channel completed callback
func (t *Transport) executeGsRequest(req *gsReq) {
defer req.onComplete()
defer func() {
log.Infow("gs request complete for channel", "chid", req.channelID)
req.onComplete()
}()

lastError := t.consumeResponses(req.responseChan, req.errChan)

Expand Down Expand Up @@ -885,6 +888,7 @@ func (c *dtChannel) open(ctx context.Context, chid datatransfer.ChannelID, dataS
// completes (or is cancelled)
completed := make(chan struct{})
onComplete := func() {
log.Infow("closing the completion ch for data-transfer channel", "chid", chid)
close(completed)
}
c.completed = completed
Expand Down