Skip to content

Commit

Permalink
Merge branch 'master' of github.com:apache/superset into dm/sql-json-…
Browse files Browse the repository at this point in the history
…results-api-v1-migration
  • Loading branch information
diegomedina248 committed Jan 26, 2023
2 parents 386979f + f8edcd7 commit 9c16ff8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10907,9 +10907,9 @@ typescript@^4.3.5:
integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==

ua-parser-js@^0.7.30:
version "0.7.31"
resolved "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz"
integrity sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==
version "0.7.33"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.33.tgz#1d04acb4ccef9293df6f70f2c3d22f3030d8b532"
integrity sha512-s8ax/CeZdK9R/56Sui0WM6y9OFREJarMRHqLB2EwkovemBxNQ+Bqu8GAsUnVcXKgphb++ghr/B2BZx4mahujPw==

unbox-primitive@^1.0.1:
version "1.0.1"
Expand Down
8 changes: 4 additions & 4 deletions superset/tasks/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Strategy: # pylint: disable=too-few-public-methods
Strategies can be configured in `superset/config.py`:
CELERYBEAT_SCHEDULE = {
beat_schedule = {
'cache-warmup-hourly': {
'task': 'cache-warmup',
'schedule': crontab(minute=1, hour='*'), # @hourly
Expand All @@ -82,7 +82,7 @@ class DummyStrategy(Strategy): # pylint: disable=too-few-public-methods
This is a dummy strategy that will fetch all charts. Can be configured by:
CELERYBEAT_SCHEDULE = {
beat_schedule = {
'cache-warmup-hourly': {
'task': 'cache-warmup',
'schedule': crontab(minute=1, hour='*'), # @hourly
Expand All @@ -105,7 +105,7 @@ class TopNDashboardsStrategy(Strategy): # pylint: disable=too-few-public-method
"""
Warm up charts in the top-n dashboards.
CELERYBEAT_SCHEDULE = {
beat_schedule = {
'cache-warmup-hourly': {
'task': 'cache-warmup',
'schedule': crontab(minute=1, hour='*'), # @hourly
Expand Down Expand Up @@ -151,7 +151,7 @@ class DashboardTagsStrategy(Strategy): # pylint: disable=too-few-public-methods
"""
Warm up charts in dashboards with custom tags.
CELERYBEAT_SCHEDULE = {
beat_schedule = {
'cache-warmup-hourly': {
'task': 'cache-warmup',
'schedule': crontab(minute=1, hour='*'), # @hourly
Expand Down

0 comments on commit 9c16ff8

Please sign in to comment.