Skip to content

Retries are not cleared after calling api.util.resetApiState #1774

@ayushsharma82

Description

@ayushsharma82

Hi @phryneas ,

I ran into this bug today by chance while monitoring a failing API request. I'm using the retry function combined with baseQuery provided by RTK Query. The "retries" are not automatically cancelled when we call api.util.resetApiState. Usual behaviour should be to first cancel all pending retries and then reset the API state.

Let me know what you think about this.

Regards,
Ayush

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions