Skip to content

feat: allow configuring HTTP timeout - #29

Open
kunal-9090 wants to merge 1 commit into
tanmayjoddar:mainfrom
kunal-9090:codex/apidrift-timeout-env
Open

feat: allow configuring HTTP timeout#29
kunal-9090 wants to merge 1 commit into
tanmayjoddar:mainfrom
kunal-9090:codex/apidrift-timeout-env

Conversation

@kunal-9090

Copy link
Copy Markdown

Summary

  • add APIDRIFT_TIMEOUT_MS support for request timeout configuration
  • keep 10000 ms as the fallback for unset or invalid values
  • document the environment variable in the README
  • add fetcher tests for default, custom, and invalid timeout values

Tests

  • npm test

Fixes #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dx: allow configuring HTTP timeout via env var

1 participant