Skip to content

change the response code for a connection limit error to 429 instead of 400 #6278

@nwoolmer

Description

@nwoolmer

Is your feature request related to a problem?

exceeded connection limit [name=json_queries_connections, numOfConnections=15, connectionLimit=8]

When encountering this error, the correct behaviour should be to back-off and retry. A 400 Bad Request is not retryable. A 429 Too Many Requests is retriable.

Describe the solution you'd like.

No response

Describe alternatives you've considered.

No response

Full Name:

Nick Woolmer

Affiliation:

QuestDB

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementEnhance existing functionalityFrictionREST APIIssues or changes relating to the HTTP endpoints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions