Skip to content

ui: back off making new requests if receiving a 504 #90596

@ajwerner

Description

@ajwerner

Is your feature request related to a problem? Please describe.
I observe that some endpoints time out at 30s and get a 504. I then observe the front-end immediately re-issuing those requests. A concrete example is trying to fetch privileges or maybe just table details on the database details page.

Describe the solution you'd like
The page out to back off up to some number of minutes between making the requests if it is going to re-issue them at all.

Describe alternatives you've considered
Don't retry and move into an error state.

Jira issue: CRDB-20853

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions