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


##########
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:
   That would forcefully change the behavior for existing deployments as well, 
even if users haven't intentionally changed a config value. I would prefer to 
keep it as is.



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