Canton - Limit number of transactions inside a command?
App Development3 posts209 views2 likesLast activity May 2022
JA
jaypeedaOP
May 2022Hi team,
After this topic Clarification - Canton resource limit maxRate, I’ve understood that we can set up the maxRate which represents the command / sec that the ledger api accepts.
But is it possible to set up the number of transactions inside a command ? As it would be possible to submit 100k transaction in one single command ? Is there a protection against that ?
Best regards,
Jean-Paul
DA
danilofaria
May 2022Hey @jaypeeda,
You can’t set the number of transactions, but it is possible to set the max allowed size in bytes of inbound messages to the ledger api server with LedgerApiServerConfig#maxInboundMessageSize.
JA
jaypeeda
May 2022Thanks Danilo!