From 91850ebc571e31996d6670aceb00b2e0c92c4c91 Mon Sep 17 00:00:00 2001 From: Christian Dreier Date: Fri, 13 Jan 2023 14:04:24 +0100 Subject: [PATCH] fix: bootstraping frontend (#22720) Co-authored-by: Christian Dreier --- 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 f1eee02ab..6966ad6d3 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;