nytai commented on a change in pull request #11499:
URL: 
https://github.com/apache/incubator-superset/pull/11499#discussion_r540612658



##########
File path: superset/config.py
##########
@@ -327,6 +327,8 @@ def _try_json_readsha(  # pylint: disable=unused-argument
     "DISPLAY_MARKDOWN_HTML": True,
     # When True, this escapes HTML (rather than rendering it) in Markdown 
components
     "ESCAPE_MARKDOWN_HTML": False,
+    "GLOBAL_ASYNC_QUERIES": False,
+    "GLOBAL_ASYNC_QUERIES_OPTIONS": {"transport": "polling", "polling_delay": 
250},

Review comment:
       You should be able to expose config vars to the frontend by adding them 
[here](https://github.com/apache/incubator-superset/blob/7e6f04fce4321cee9d69b14fa003e4c24b5cf720/superset/views/base.py#L68),
 then they should be available in `boostrap_data.common` 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to