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

[Sql Lab] Fix QueryAutoRefresh component pulling do not stop #4244

Merged

Conversation

graceguo-supercat
Copy link

@graceguo-supercat graceguo-supercat commented Jan 19, 2018

Currently in SQL lab, the query results pulling doesn't stop.

@michellethomas @williaster

@williaster
Copy link
Contributor

LGTM 👍

@graceguo-supercat graceguo-supercat merged commit 1c56319 into apache:master Jan 19, 2018
@graceguo-supercat graceguo-supercat deleted the gg-FixAutoRefresher branch January 19, 2018 18:53
@mistercrunch
Copy link
Member

@graceguo-supercat are we sure that this is right? I don't see anymore polling on our staging. Could be unrelated though, haven't dug to the bottom yet.

@mistercrunch
Copy link
Member

Ran some tests and this breaks polling. [].some() returns a boolean not a list.

We can talk about how we should timeout /cleanup old/dead queries in a way that would prevent hyperactive pooling.

Reverting

mistercrunch added a commit that referenced this pull request Jan 27, 2018
mistercrunch added a commit to mistercrunch/superset that referenced this pull request Jan 27, 2018
@graceguo-supercat
Copy link
Author

Thanks for fixing it!~~ The problem bothered me is when query in current tab is stopped/succeeded, because of polling in other tabs, current results tab keeps re-rendering. My code change is not right fix.

thanks!

graceguo-supercat pushed a commit that referenced this pull request Jan 27, 2018
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Jan 31, 2018
(cherry picked from commit f8dcbf7)
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.23.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.23.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants