You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2023/01/13 13:04:45 UTC
[superset] branch master updated: fix: bootstraping frontend (#22720)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 91850ebc57 fix: bootstraping frontend (#22720)
91850ebc57 is described below
commit 91850ebc571e31996d6670aceb00b2e0c92c4c91
Author: Christian Dreier <dr...@googlemail.com>
AuthorDate: Fri Jan 13 14:04:24 2023 +0100
fix: bootstraping frontend (#22720)
Co-authored-by: Christian Dreier <dr...@gmail.com>
---
superset-frontend/src/middleware/asyncEvent.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/middleware/asyncEvent.ts b/superset-frontend/src/middleware/asyncEvent.ts
index f1eee02ab4..6966ad6d3f 100644
--- a/superset-frontend/src/middleware/asyncEvent.ts
+++ b/superset-frontend/src/middleware/asyncEvent.ts
@@ -236,7 +236,7 @@ export const init = (appConfig?: AppConfig) => {
retriesByJobId = {};
lastReceivedEventId = null;
- config = appConfig || getBootstrapData().config;
+ config = appConfig || getBootstrapData().common.conf;
transport = config.GLOBAL_ASYNC_QUERIES_TRANSPORT || TRANSPORT_POLLING;
pollingDelayMs = config.GLOBAL_ASYNC_QUERIES_POLLING_DELAY || 500;