From 8e6cd7c620c23a49ca10977d5a5510876ca843c2 Mon Sep 17 00:00:00 2001 From: Chris Cowan Date: Mon, 3 Dec 2018 08:35:02 -0700 Subject: [PATCH] Fixes #26052 - Change time range for waffle map from last hour to last 5 minutes (#26278) (#26447) --- .../plugins/infra/public/store/local/waffle_time/selectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/infra/public/store/local/waffle_time/selectors.ts b/x-pack/plugins/infra/public/store/local/waffle_time/selectors.ts index a69d742d43b1..0b6d01bdf528 100644 --- a/x-pack/plugins/infra/public/store/local/waffle_time/selectors.ts +++ b/x-pack/plugins/infra/public/store/local/waffle_time/selectors.ts @@ -17,7 +17,7 @@ export const selectTimeUpdatePolicyInterval = (state: WaffleTimeState) => state.updatePolicy.policy === 'interval' ? state.updatePolicy.interval : null; export const selectCurrentTimeRange = createSelector(selectCurrentTime, currentTime => ({ - from: currentTime - 1000 * 60 * 60, + from: currentTime - 1000 * 60 * 5, interval: '1m', to: currentTime, }));