Skip to content

Commit e24c878

Browse files
committed
chore: add comment on cancel
1 parent faeab9a commit e24c878

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/handler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ async function batchResponse ({ blocks, context, logger }) {
193193
telemetry.increaseLabelCount('bitswap-block-success-cancel', [block.type])
194194
telemetry.increaseLabelCount('bitswap-cancel-size', [block.type], size)
195195

196+
logger.info({ key: block.key }, 'delete')
196197
context.canceled.delete(block.key)
197198
} else {
198199
const size = messageSize[block.type](block)

0 commit comments

Comments
 (0)