Fixes #26052 - Change time range for waffle map from last hour to last 5 minutes (#26278) (#26447)

This commit is contained in:
Chris Cowan 2018-12-03 08:35:02 -07:00 committed by GitHub
parent f1f5f1c9b3
commit 8e6cd7c620
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}));