graceguo-supercat opened a new pull request #11797: URL: https://github.com/apache/incubator-superset/pull/11797
### SUMMARY Superset allow users to enable [CORS](https://pypi.org/project/Flask-Cors/) and domain sharding to improve dashboard performance. Currently domain sharding is enabled by offer a list of domains in `SUPERSET_WEBSERVER_DOMAINS`. But in current configuration, once domain sharding is enabled, it applies to every user in the system. We found there are some cases that we want to exempt some service users from domain sharding. This PR is to add an additional feature flag for domain sharding feature, so that we can apply/disable this feature to certain users while keeping Superset have domain sharding available. ### TEST PLAN CI ---------------------------------------------------------------- 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]
