How to change the maximum chunk size ?

How can I change the maximum block size from the command line or otherwise?

ipfs add --chunker=size-1048576 <FILE_HERE>

That’s the standard chunker but with max size block instead of the default.

ipfs add --chunker=size-1048576 <FILE_HERE> This command cannot make the maximum block size bigger than 1M. I want the maximum block to be 2M.

You can’t because it might wrap it in protobuf adding a few more bytes