Skip to content

Refactor misaligned downstream requests #204

Description

@brucetony

During testing of the downstream health endpoints, I found that some kong and hub requests could cause stalls in responses since the hub-python-client and kong-admin-client both use synchronous calls while the HA has them defined as async. Slow hub responses only had ~5s freezes, but kong has no timeout and degraded the whole api. These endpoints need to be synchronous and shared deps need to run in the same threadpool.

This was not apparent during development, but bombarding the API revealed these issues and they should be patched ASAP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions