Skip to content

docs: fix the timeout configuration example#267

Open
Torch4084 wants to merge 1 commit intotadata-org:mainfrom
Torch4084:torch4084/fix-timeout-docs
Open

docs: fix the timeout configuration example#267
Torch4084 wants to merge 1 commit intotadata-org:mainfrom
Torch4084:torch4084/fix-timeout-docs

Conversation

@Torch4084
Copy link

Summary

  • fix the timeout example so the injected httpx.AsyncClient preserves FastApiMCP's in-process ASGI transport and base URL
  • correct the documented default timeout from 5 seconds to 10 seconds in the FAQ
  • add a configuration test that locks in the 10 second default timeout

Fixes #231

Validation

  • uv run pytest --no-cov tests/test_configuration.py
  • uv run ruff check examples/07_configure_http_timeout_example.py tests/test_configuration.py

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.

example for adjusting server timeout incomplete

1 participant