Closed jgoz closed 1 week ago
@matteovivona Does this change make sense?
I agree with this change. We are running a very large project where our cache size exceeds 50MB, resulting in issues with loading the cache. Could you please review this change? @matteovivona @jgoz
@jgoz thank you for your PR! It makes sense. Could you also update the documentation with this new variable? I would really appreciate it!
@all-contributors please add @jgoz for code and doc
@matteovivona
I've put up a pull request to add @jgoz! :tada:
@fox1t @matteovivona The docs already have this variable listed, it just wasn't being used in this spot.
:tada: This PR is included in version 2.2.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
In this PR:
The BODY_LIMIT env variable was being used in the content type parser, but not when creating the fastify app. This meant the practical body limit could not be raised past 50MB.
This PR uses the BODY_LIMIT var for both values.
Checklist:
pnpm lint
locally prior to submission?pnpm build
of your changes locally?pnpm test
of your changes locally?