MaskingTechnology / jitar

Distributed runtime for JavaScript and TypeScript
https://jitar.dev
MIT License
121 stars 9 forks source link

Add request size limit configuration option #491

Closed petermasking closed 4 months ago

petermasking commented 4 months ago

Currently, we can't call remote procedures with a combined parameter size > 100kb. This is enough in most cases, but must be made configurable for all other cases (like Comify).

For the realization we need to dynamically set the limit of of the body parser.

basmasking commented 4 months ago

Do we want to have it configurable for each and every route on the server? Or do we only want to have this setting apply to the rpc end point?

petermasking commented 4 months ago

I would suggest to start simple by applying it to all PRC calls.

basmasking commented 4 months ago

So we don't increase the limit of the body on the health, jitar, etc. endpoints.

Thanks