Skip to content

Commit

Permalink
Allow cache to last for a 3 days (apache#136)
Browse files Browse the repository at this point in the history
Allow all queries cache to last for 3 days by default

@mistercrunch is this overkill?
  • Loading branch information
hughhhh authored and lyft-buildnotify-4 committed Feb 22, 2018
1 parent cd3005e commit e5355e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def has_access(self, permission_name, view_name):
# Caching configuration
CACHE_CONFIG = {
'CACHE_TYPE': 'redis',
'CACHE_DEFAULT_TIMEOUT': 60 * 60 * 24,
'CACHE_DEFAULT_TIMEOUT': 60 * 60 * 24 * 3,
'CACHE_KEY_PREFIX': 'superset_',
'CACHE_REDIS_URL': REDIS_URL,
}
Expand Down

0 comments on commit e5355e7

Please sign in to comment.