Skip to content

Commit

Permalink
chore: add comment on cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Mar 2, 2023
1 parent 2d4638e commit 20c8101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ async function batchResponse ({ blocks, context, logger }) {
telemetry.increaseLabelCount('bitswap-block-success-cancel', [block.type])
telemetry.increaseLabelCount('bitswap-cancel-size', [block.type], size)

console.log('delete', block.key)
context.canceled.delete(block.key)
}
}
Expand Down

0 comments on commit 20c8101

Please sign in to comment.