Skip to content

Global client mutex makes calls slow #104

@cedws

Description

@cedws

I did a bit of digging but I couldn't find why there's a global mutex on the Client type. This means only one request can be in flight at a time which is slow. I can see there's some getters that might need be protected from concurrent access, but a global client mutex seems like a blunt force solution.

mu sync.Mutex // guards every public call

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions