You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/12/05 23:27:08 UTC

(superset) 06/07: docuement ff and set to false

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch sqla-close
in repository https://gitbox.apache.org/repos/asf/superset.git

commit ecca931f55c80566f544d4965dbcb7f9946db63c
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Thu Dec 5 11:33:36 2024 -0800

    docuement ff and set to false
---
 superset/config.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/superset/config.py b/superset/config.py
index 8d2ec7cc83..9ed61ad3d1 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -566,7 +566,9 @@ DEFAULT_FEATURE_FLAGS: dict[str, bool] = {
     # If on, you'll want to add "https://avatars.slack-edge.com" to the list of allowed
     # domains in your TALISMAN_CONFIG
     "SLACK_ENABLE_AVATARS": False,
-    "DISABLE_METADATA_DB_DURING_ANALYTICS": True,
+    # This feature flag works only in combination with NullPool, and disconnects the metadata db
+    # connection temporarily during the execution of analytics queries, avoiding bottlenecks
+    "DISABLE_METADATA_DB_DURING_ANALYTICS": False,
 }
 
 # ------------------------------