rainbow
rainbow copied to clipboard
ENV flag to enable duplicate block metric from bitswap
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
-
maxBlockSizeReplaceHasWithBlockhttps://github.com/ipfs/boxo/blob/88beadf0804607dedc7a4aa12cfef47381a74f89/bitswap/server/internal/decision/engine.go#L206