Canton - Limit number of transactions inside a command?

Hi 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

Hey @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.

1 Like

Thanks Danilo!

1 Like