firefly-limiter - v1.0.1
    Preparing search index...

    Function retryableTransportError

    • Whether a failure seen inside a transport is worth repeating: the classification transport already did, plus a deadline, minus Firefly's own refusals and the caller's own abort.

      This is the shouldRetry for a policy handed to transport. An open circuit and a full bulkhead are refusals rather than failures, and repeating them only spends attempts on a call that was never made.

      Parameters

      • error: unknown

      Returns boolean