diff --git a/js_modules/dagster-ui/packages/ui-core/src/runs/useRunsForTimeline.tsx b/js_modules/dagster-ui/packages/ui-core/src/runs/useRunsForTimeline.tsx index 8a9cc7c21c05e..8ac45408801ff 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/runs/useRunsForTimeline.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/runs/useRunsForTimeline.tsx @@ -30,6 +30,8 @@ import {workspacePipelinePath} from '../workspace/workspacePath'; const BATCH_LIMIT = 500; +const QUERY_VERSION = 1; + export const useRunsForTimeline = ({ rangeMs, filter, @@ -65,12 +67,12 @@ export const useRunsForTimeline = ({ id: localCacheIdPrefix ? `${localCacheIdPrefix}-useRunsForTimeline-filtered` : false, keyPrefix: JSON.stringify(filter), keyMaxCount: 3, - version: 1, + version: QUERY_VERSION, }); } return new HourlyDataCache({ id: localCacheIdPrefix ? `${localCacheIdPrefix}-useRunsForTimeline` : false, - version: 1, + version: QUERY_VERSION, }); }, [filter, localCacheIdPrefix]); const [completedRuns, setCompletedRuns] = useState([]);