Open
Description
What problem are you trying to solve?
My application sends a large amount of data to tokio console and the default limit (4M) is too small.
It triggered the following error in tokio-console:
WARN tokio_console::conn: error from stream status=status: OutOfRange, message: "Error, decoded message length too large: found 206116357 bytes, the limit is: 4194304 bytes", details: [], metadata: MetadataMap { headers: {} }
How should the problem be solved?
It would be nice to be able to specify max_decoding_message_size in command line (or through env var) so that it works with large data. I can add it if this sounds like a good idea.
Any alternatives you've considered?
I don't think there is another way.
How would users interact with this feature?
example:
./tokio-console --max_decoding_message_size_mb 1024
Would you like to work on this feature?
yes