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

Avoid problems with cancelled requests in dataviews #2118

Merged
merged 4 commits into from
May 21, 2018
Merged

Conversation

rubenmoya
Copy link
Contributor

@rubenmoya rubenmoya commented May 16, 2018

Related to: https://github.com/CartoDB/onpremises/issues/510

We were having problems with callbacks not being called because of canceled requests (see the related issue for more info).

This PR fixes that by creating a hasBinds flag which we set to true after setting them, and calling the _fetch method in both, the _initialFetch and _onMapBoundsChanged methods which were the ones conflicting.

@rubenmoya rubenmoya changed the title Avoid problems with cancelled requests Avoid problems with cancelled requests in dataviews May 21, 2018
@rubenmoya rubenmoya merged commit d58105d into master May 21, 2018
@rubenmoya rubenmoya deleted the onpremise-510 branch May 21, 2018 09:59
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

Successfully merging this pull request may close these issues.

1 participant