Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically cancel in flight requests that use the same query #12

Open
weotch opened this issue Apr 21, 2022 · 0 comments
Open

Automatically cancel in flight requests that use the same query #12

weotch opened this issue Apr 21, 2022 · 0 comments

Comments

@weotch
Copy link
Member

weotch commented Apr 21, 2022

Axios supports cancelling inflight requests with it's cancel token:

This task is to automatically cancel requests when a new request comes in with the exact same payload. This should improve Craft previews where sometimes there is a race condition when an earlier content update replaces a later one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant