Skip to content

cow-ext: map reqwest timeout and 429 to Fault::Timeout / Fault::RateLimited #287

Description

@mfw78

Problem. The cow-host ext_cow.rs maps host-side reqwest timeout and 429 responses onto the blanket Fault::Unavailable rather than the more precise Fault::Timeout / Fault::RateLimited.

Change. Project a reqwest timeout to Fault::Timeout and a 429 to Fault::RateLimited. Distinct from, but related to, the chain-host mapping tracked in #269.

Relates. #269, #206. Surfaced by the #216 review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/cow-integrationshepherd:cow / cow-api order submissiondebtCode works but makes future work harder.effort/minutesQuick fix. Just do it.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions