Skip to content

introduce heartbeat check to fallback host support #187

@aMahanna

Description

@aMahanna

We are currently processing the client request to a given host, without knowing whether it is alive or not.

  • If the host happens to be down, this can lead to a long wait before the ConnectionAbortedError is raised
    (see current implementation of process_request)

We should instead heartbeat the host first, and if it is alive, process the request.

  • This can be simply achieved by running a requests.get() on the host selected by our HostResolver with a set timeout parameter.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions