Replies: 1 comment 1 reply
-
|
As it turns out, we wrote the functionality for this 6 months ago and never finished it. 😁 Thanks for the reminder. Merged in #9491. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
turborepo/crates/turborepo-cache/src/http.rs
Lines 333 to 339 in 7fb5b21
Non-goals
Background
When using a custom self-hosted server as remote cache, it's possible that the available bandwidth to the custom instance is limited. Moreover, the artifact size can be large enough for preventing the element being uploaded within the statically-configured upload timeout.
Having the possibility to override the default timeout would greatly improve the flexibility of the remote caching feature, allowing to set up custom servers to cache larger artifacts (100MB+) that require minutes to be uploaded.
For reference, users have reported turbo timing out while uploading artifacts on a custom remote cache server:
ducktors/turborepo-remote-cache#407
Proposal
The remote timeout could be configured with an environment variable
TURBO_API_UPLOAD_TIMEOUTsimilar to how the remote cache server can be set up withTURBO_TEAM,TURBO_TOKENandTURBO_APIvariables.Happy to work on the proposed feature if this is approved! 🚀
Beta Was this translation helpful? Give feedback.
All reactions