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



##########
File path: superset/app.py
##########
@@ -647,6 +651,20 @@ def configure_wtf(self) -> None:
             for ex in csrf_exempt_list:
                 csrf.exempt(ex)
 
+    def configure_async_queries(self) -> None:
+        if feature_flag_manager.is_feature_enabled("GLOBAL_ASYNC_QUERIES"):
+            if (
+                self.config["CACHE_CONFIG"]["CACHE_TYPE"] == "null"
+                or self.config["DATA_CACHE_CONFIG"]["CACHE_TYPE"] == "null"
+            ):
+                raise Exception(

Review comment:
       Require caching be enabled for this feature.




----------------------------------------------------------------
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