mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-08 04:42:11 +02:00
The api-gateway accepts a --timeout flag (default 600) but the value is silently dropped before reaching per-service dispatchers. The flag is correctly wired to EndpointManager but DispatcherManager constructs every dispatcher (graph-rag, document-rag, text-completion, embeddings, etc.) with a hardcoded timeout=120. Changes: - Add timeout parameter to DispatcherManager.__init__ (default 120 for backward compatibility) - Replace two hardcoded timeout=120 with self.timeout in invoke_global_service() and invoke_flow_service() - Pass timeout=self.timeout from Api to DispatcherManager in service.py Fixes: #894 |
||
|---|---|---|
| .. | ||
| trustgraph | ||
| pyproject.toml | ||
| README.md | ||