mirror of https://github.com/apache/superset.git
Merge af9cc7d33b
into f5843fe588
This commit is contained in:
commit
db9e159eb9
|
@ -104,6 +104,14 @@ class CeleryConfig:
|
|||
broker_url = CELERY_REDIS_URL
|
||||
result_backend = CELERY_REDIS_URL
|
||||
|
||||
{{ if .Values.celeryConfigOverrides }}
|
||||
# Overrides
|
||||
{{- range $key, $value := .Values.celeryConfigOverrides }}
|
||||
# {{ $key }}
|
||||
{{ tpl $value $ }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
CELERY_CONFIG = CeleryConfig
|
||||
RESULTS_BACKEND = RedisCache(
|
||||
host=env('REDIS_HOST'),
|
||||
|
|
|
@ -179,6 +179,12 @@ configOverridesFiles: {}
|
|||
# extend_timeout: extend_timeout.py
|
||||
# enable_oauth: enable_oauth.py
|
||||
|
||||
# -- A dictionary of overrides to append at the end of CeleryConfig in superset_config.py - the name does not matter
|
||||
# WARNING: the order is not guaranteed
|
||||
celeryConfigOverrides: {}
|
||||
# beat_schedule: |
|
||||
# CELERY_BEAT_SCHEDULE = {'reports.scheduler': {'task': 'reports.scheduler', 'schedule': crontab(minute='*', hour='*')},'reports.prune_log': {'task': 'reports.prune_log','schedule': crontab(minute=0, hour=0)}}
|
||||
|
||||
configMountPath: "/app/pythonpath"
|
||||
|
||||
extraConfigMountPath: "/app/configs"
|
||||
|
|
Loading…
Reference in New Issue