ApacheSuperset optimizations

ApacheSuperset optimizations

These are optional optimizations that are added in the config.py backend file:

#These configurations were added so that your ApacheSuperset has as less technical limits
SQLLAB_ASYNC_TIME_LIMIT_SEC = 60 * 60 * 6
SUPERSET_WEBSERVER_TIMEOUT = 3600
ROW_LIMIT = 50000000
VIZ_ROW_LIMIT = 50000000
SAMPLES_ROW_LIMIT = 50000000
FILTER_SELECT_ROW_LIMIT = 50000000
QUERY_SEARCH_LIMIT = 50000000
SQL_MAX_ROW = 500000000
DISPLAY_MAX_ROW = 50000000
DEFAULT_SQLLAB_LIMIT = 50000000


#This config is added so that you can embed Superset
EMBEDDED_SUPERSET = True

#This config is added so that you can use Sqlite connections
PREVENT_UNSAFE_DB_CONNECTIONS = False

#This config is added so that you can use publicly accessible dashboards
AUTH_ROLE_PUBLIC = 'Public'
PUBLIC_ROLE_LIKE = 'Gamma'


#This config is added so that you can use publicly accessible dashboards
FEATURE_FLAGS = {
    'DASHBOARD_RBAC': True
}


#This config is added because by default each new user gets Admin role. With this, each new user has the minimum role. You as the Superset admin can modify each new user role in the Superset admin menu
AUTH_USER_REGISTRATION_ROLE = "Public"