-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
What version of Turborepo are you using?
1.0.25
What package manager are you using / does the bug impact?
npm, pnpm, Yarn v1
What operating system are you using?
Mac
Describe the Bug
When a caching server is offline or otherwise unreachable, it greatly slows down build speed as every request waits 90 seconds before timing out and running the local build step. This happens for every package, turning a 40 package build into something like an hour long build.
Expected Behavior
Ideally, caching would be an add-on to a local build and not blocking.
A per-run configurable timeout would be great. Basically, if the server fails to respond, or is unreachable after a set time, fall back to local automatically for the rest of the run.
I really want to adopt this, but don't want to take the whole team out if they're offline or if our caching server goes down :swe
Loving it so far. Thanks!
To Reproduce
npx turbo run build --api="http://offline-caching.server" --token=token --team=team_name