Skip to content

Commit

Permalink
use lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
cemremengu authored Jan 26, 2023
1 parent 111abfc commit c162d6b
Showing 1 changed file with 4 additions and 4 deletions.
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`:
BEAT_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:
BEAT_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.
BEAT_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.
BEAT_SCHEDULE = {
beat_schedule = {
'cache-warmup-hourly': {
'task': 'cache-warmup',
'schedule': crontab(minute=1, hour='*'), # @hourly
Expand Down

0 comments on commit c162d6b

Please sign in to comment.