Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer info for UI: Add context timeout in endpoint #2361

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Amogh-Bharadwaj
Copy link
Contributor

The edit peer button does not appear in the case where we run into connection timeouts when connecting to Postgres - as we hit a 1 minute gateway timeout in the UI
This PR sets a 30 second timeout on the endpoint to get peer info so that the endpoint errors out faster and the edit peer button is shown

Ideally we would decouple the edit button from this endpoint entirely though

@heavycrystal heavycrystal enabled auto-merge (squash) December 19, 2024 14:45
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.

3 participants