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
feat(core): use experiment flags for default fetch timeouts
Replaces hardcoded fetch timeouts in `undici`'s Agent and ProxyAgent with
newly defined experiment flags `DEFAULT_REQUEST_TIMEOUT` and
`DEFAULT_TOTAL_REQUEST_TIMEOUT`. This allows for remote configuration
of request timeouts.
- Added `DEFAULT_REQUEST_TIMEOUT` and `DEFAULT_TOTAL_REQUEST_TIMEOUT` to `ExperimentFlags`.
- Updated `fetch.ts` to use `DEFAULT_REQUEST_TIMEOUT` for headers and body timeouts.
- Added unit tests to verify `setGlobalProxy` correctly applies the timeout flags.
0 commit comments