Vitor-Avila commented on code in PR #32231:
URL: https://github.com/apache/superset/pull/32231#discussion_r1952546229


##########
superset/config.py:
##########
@@ -1916,6 +1916,15 @@ class ExtraDynamicQueryFilters(TypedDict, total=False):
 CATALOGS_SIMPLIFIED_MIGRATION: bool = False
 
 
+# When updating a DB connection or manually triggering a resync, the command
+# happens in sync mode. If you have a celery worker configured, it's 
recommended
+# to change below config to ``True`` to run this process in async mode. A DB
+# connection might have hundreds of catalogs with thousands of schemas each, 
which
+# considerably increases the time to process it. Running it in async mode 
prevents
+# keeping a web API call open for this long.
+RESYNC_DB_PERMISSIONS_IN_ASYNC_MODE: bool = False

Review Comment:
   I'm keeping it as a `False` as not all Superset installations have celery 
workers running, and updating permissions is a crucial functionality so it's 
best to default to `False` rather than enforcing it to `True`.



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

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to