ducktors / turborepo-remote-cache

Open source implementation of the Turborepo custom remote cache server.
https://ducktors.github.io/turborepo-remote-cache/
MIT License
922 stars 88 forks source link

Raise the bodyLimit to 50MB from 1MB #384

Closed NullVoxPopuli closed 3 weeks ago

NullVoxPopuli commented 3 weeks ago

In this PR:

Issues reference:

Related: #366

I have a library that is 3.3MB right now, and I kinda "arbitrarily" chose 50MB, but I figure if some build assets could include images, it may be good to bump further.

Any larger than that though, and... folks should probably statically host those images somewhere.


Alternatively, I see (in #366) there is a BODY_LIMIT environment variable -- must be a fastify thing šŸ˜…

I was not able to find that in fastify's docs though?

Checklist:

fox1t commented 3 weeks ago

You can find all of the env vars supported by remote cache here. https://ducktors.github.io/turborepo-remote-cache/environment-variables

Btw I think this is a sane change and we are going to merge this.

matteovivona commented 3 weeks ago

:tada: This PR is included in version 2.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

matteovivona commented 3 weeks ago

@all-contributors add @NullVoxPopuli on code

matteovivona commented 3 weeks ago

Related to this issue https://github.com/ducktors/turborepo-remote-cache/issues/323

allcontributors[bot] commented 3 weeks ago

@matteovivona

I've put up a pull request to add @NullVoxPopuli! :tada: