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

pouchdb: Investigate canceling PouchDB ajax requests when the context is cancelled #666

Open
flimzy opened this issue Aug 18, 2017 · 0 comments · May be fixed by #726
Open

pouchdb: Investigate canceling PouchDB ajax requests when the context is cancelled #666

flimzy opened this issue Aug 18, 2017 · 0 comments · May be fixed by #726

Comments

@flimzy
Copy link
Member

flimzy commented Aug 18, 2017

At the moment, the only explicit Context support in the PouchDB bindings is for timeout contexts, which sets the AJAX timeout. (And, of course, just returning early, while leaving the process running in the background, if a context is cancelled--not ideal). But cancelling contexts is probably more common, and I should try to cancel an existing AJAX connection when that happens.

@flimzy flimzy transferred this issue from go-kivik/pouchdb Sep 2, 2023
@flimzy flimzy changed the title Investigate canceling PouchDB ajax requests when the context is cancelled pouchdb: Investigate canceling PouchDB ajax requests when the context is cancelled Sep 2, 2023
@flimzy flimzy linked a pull request Sep 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant