Skip to content

does not cancel the underlying axios request #230

Description

@Mystery-CLI

File: frontend/src/App.jsx

withTimeout races a setTimeout rejection against the axios call, but when the timeout fires the axios request continues running in the background, consuming bandwidth and potentially resolving after the user has already seen an error. Pass an AbortController signal to axios and abort it when the timeout fires.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions