You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2018/04/16 21:50:47 UTC

[GitHub] timifasubaa opened a new pull request #4833: [sqllab] Help sqllab forget query history

timifasubaa opened a new pull request #4833: [sqllab] Help sqllab forget query history
URL: https://github.com/apache/incubator-superset/pull/4833
 
 
   In the sqllab asynchronous polling logic, it looks through the query history and continues to poll if there is a query in the history that is not successful. 
   
   This PR makes it look only at the last 6 hours of queries when checking for their states. The rationale is that a query that was started 6 hours ago is probably dead or problematic and should be rerun. 
   Also, if for some reason a query in the history is in a bad state and remains non successful, superset will continue to poll. 
   
   @graceguo-supercat @mistercrunch 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services