Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[plugins] Add env var to control github cache ttl (#2314)
## Summary This adds new experimental env var `DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL` that controls how long devbox caches github plugins. The default is 24h. Ideally we store plugin versions in lockfile, but this can help improve UX in the meantime. ## How was it tested? Added print statement to monitor network requests ```bash DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL=0 devbox run echo hello DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL=1s devbox run echo hello DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL=1h devbox run echo hello ```
- Loading branch information