You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
```
0 commit comments