Skip to content

jsonclient backoff is never reset #1696

@FiloSottile

Description

@FiloSottile

There are no calls to jsonclient.(*backoff).decreaseMultiplier() anywhere but in tests, so after a few set invocations, multiplier reaches 8 (maxMultiplier) and then always returns 128s. This means that after a bit in production, JSONClient will wait 128s upon every network error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions