on 07-13-2022 4:44 AM
What is the best way to increase the message size limitation on the REST adapter?
Temporarily adjusting line 110 in cds/libx/rest/RestAdapter.js
from -> router.use(express.json()) // REVISIT: -> belongs to the parses
to -> router.use(express.json({limit:"50mb"}))
fixes the problem, but what is the appropriate way of working around that limitation?
As there will always be a next limit reached, and materializing such large payloads has detrimental effects on resource consumption, I think we need some kind of ootb streaming support for such scenarios, which we don’t have today. → subject for further imp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.