rainbow icon indicating copy to clipboard operation
rainbow copied to clipboard

ENV flag to enable duplicate block metric from bitswap

Open lidel opened this issue 1 year ago • 0 comments

We run with:

https://github.com/ipfs/rainbow/blob/471f09587d51044070a12bfc2df7c3092fc9c581/setup_bitswap.go#L73

It would be useful to have env flag to enable it on some boxes.

Part of investigation related to

  • https://github.com/ipfs/boxo/issues/657
  • maxBlockSizeReplaceHasWithBlock https://github.com/ipfs/boxo/blob/88beadf0804607dedc7a4aa12cfef47381a74f89/bitswap/server/internal/decision/engine.go#L206

lidel avatar Aug 13 '24 16:08 lidel