Skip to content

Added request timeout in BackendTrafficPolicy#24

Open
srdangat wants to merge 60 commits intoTrainWithShubham:feat/gitopsfrom
srdangat:feat/gitops
Open

Added request timeout in BackendTrafficPolicy#24
srdangat wants to merge 60 commits intoTrainWithShubham:feat/gitopsfrom
srdangat:feat/gitops

Conversation

@srdangat
Copy link
Copy Markdown

@srdangat srdangat commented Apr 14, 2026

Ollama (TinyLlama model) inference (~13s) plus network overhead (~2–3s) exceeds Envoy Gateway’s default timeout (~15s), causing requests to fail.

Added HTTP request timeout of 120s in BackendTrafficPolicy to support long-running requests.

timeout:
http:
requestTimeout: 120s

This fixes timeout errors and ensures the AI assistant responds successfully.

ai-chatbot

srdangat and others added 30 commits April 12, 2026 19:19
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.

1 participant