Lambda Size Limit 6MB
jonsharratt opened this issue · comments
Bug Report
Seems because the attachements are stored it quite quickly hits the 6MB limit when requesting files from S3.
Description
For bug reports:
-
What went wrong?
body size is too long
is too long from Lambda inget.js
-
What did you expect should have happened?
Relevant private package should be returned -
What was the config / env variables you used?
N/A -
What stacktrace or error message did you
experience?
body size is too long
Additional Data
- NPM CLI version you are using:
3.10.10
- Serverless version you're using:
1.5.1
- Node version you're using:
6.9.5
- Yith Version:
0.7.0
Proposed fix is not to store / return the attachements within the index.json
file as looking at https://registry.npmjs.org/react
as an example attachments are not returned. Makes sense thinking about it as longer term that would be an unmaintainable response size.