Slice level cache_timeout isn't taken into consideration (#2631)

This commit is contained in:
Maxime Beauchemin
2017-04-17 08:48:33 -07:00
committed by GitHub
parent 70c6cad0e3
commit 23aeee5a9c
5 changed files with 19 additions and 14 deletions

View File

@@ -1199,5 +1199,12 @@ export const controls = {
hidden: true,
description: 'The id of the active slice',
},
cache_timeout: {
type: 'HiddenControl',
label: 'Cache Timeout (seconds)',
hidden: true,
description: 'The number of seconds before expiring the cache',
},
};
export default controls;

View File

@@ -12,7 +12,7 @@ export const sections = {
controlSetRows: [
['datasource'],
['viz_type'],
['slice_id'],
['slice_id', 'cache_timeout'],
],
},
sqlaTimeSeries: {