MCPcopy Create free account
hub / github.com/Roy3838/Observer / startup

Function startup

api/http_client.py:28–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28async def startup() -> None:
29 global _client
30 _client = httpx.AsyncClient(
31 timeout=120.0,
32 limits=httpx.Limits(max_connections=100, max_keepalive_connections=20),
33 )
34 logger.info("Shared HTTP client initialized")
35
36
37async def shutdown() -> None:

Callers

nothing calls this directly

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected