Skip to content

feat: add configurable timeout for backendEndpoint calls#55

Open
Vaishnav88sk wants to merge 1 commit intoreshaprio:mainfrom
Vaishnav88sk:vaishnav-reshapr
Open

feat: add configurable timeout for backendEndpoint calls#55
Vaishnav88sk wants to merge 1 commit intoreshaprio:mainfrom
Vaishnav88sk:vaishnav-reshapr

Conversation

@Vaishnav88sk
Copy link
Copy Markdown

Closes #15

Add a backendEndpointTimeout field (ms) to ConfigurationPlan. When importing an API,
set it via the control plane API. Defaults to 3000ms if not set. Proxy now returns
HTTP 504 instead of hanging indefinitely when the backend does not respond in time.

Tested via ProxyServiceTest - all 3 tests pass.

@Vaishnav88sk Vaishnav88sk requested a review from lbroudoux as a code owner April 4, 2026 07:25
Copy link
Copy Markdown
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to push this! Some changes to address.

Signed-off-by: Vaishnav88sk <vaishnavsk8804@gmail.com>

feat: add configurable timeout for backendEndpoint calls

Signed-off-by: Vaishnav88sk <vaishnavsk8804@gmail.com>
@Vaishnav88sk
Copy link
Copy Markdown
Author

I've addressed the requested changes and pushed the latest updates. Please let me know if any further changes are needed.

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.

Add a timeout for calling backendEndpoint

2 participants