mirror of
https://github.com/apache/superset.git
synced 2024-09-17 19:19:38 -04:00
[Bugfix]: Explore view does not respect custom timeout. (#3582)
This commit is contained in:
parent
efc63669a6
commit
a85968eadb
@ -24,6 +24,7 @@ const propTypes = {
|
||||
standalone: PropTypes.bool.isRequired,
|
||||
triggerQuery: PropTypes.bool.isRequired,
|
||||
queryRequest: PropTypes.object,
|
||||
timeout: PropTypes.number,
|
||||
};
|
||||
|
||||
class ExploreViewContainer extends React.Component {
|
||||
@ -90,7 +91,7 @@ class ExploreViewContainer extends React.Component {
|
||||
|
||||
triggerQueryIfNeeded() {
|
||||
if (this.props.triggerQuery && !this.hasErrors()) {
|
||||
this.props.actions.runQuery(this.props.form_data);
|
||||
this.props.actions.runQuery(this.props.form_data, false, this.props.timeout);
|
||||
}
|
||||
}
|
||||
|
||||
@ -202,6 +203,7 @@ function mapStateToProps({ explore, chart }) {
|
||||
forcedHeight: explore.forced_height,
|
||||
queryRequest: chart.queryRequest,
|
||||
chartStatus: chart.chartStatus,
|
||||
timeout: explore.common.conf.SUPERSET_WEBSERVER_TIMEOUT,
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user