diff --git a/ui/component/upcomingClaims/index.js b/ui/component/upcomingClaims/index.js index e7462f86dc..fae12e250f 100644 --- a/ui/component/upcomingClaims/index.js +++ b/ui/component/upcomingClaims/index.js @@ -37,10 +37,7 @@ const selectOptions = createSelector( not_channel_ids: mutedAndBlockedIds, not_tags: CsOptHelper.not_tags(), order_by: ['^release_time'], - release_time: [ - `>${moment().subtract(LIVESTREAM_UPCOMING_BUFFER, 'minutes').startOf('minute').unix()}`, - `>${Math.floor(moment().startOf('minute').unix())}`, - ], + release_time: [`>${moment().subtract(LIVESTREAM_UPCOMING_BUFFER, 'minutes').startOf('minute').unix()}`], ...(isLivestream ? { has_no_source: true } : { has_source: true }), ...(isLivestream && limitPerChannel ? { limit_claims_per_channel: limitPerChannel } : {}), }; diff --git a/ui/constants/livestream.js b/ui/constants/livestream.js index d44f1fa15e..d66e4a7552 100644 --- a/ui/constants/livestream.js +++ b/ui/constants/livestream.js @@ -14,6 +14,6 @@ export const LIVESTREAM_STATUS_CHECK_INTERVAL = 45 * 1000; export const LIVESTREAM_STATUS_CHECK_INTERVAL_SOON = 15 * 1000; export const LIVESTREAM_STARTS_SOON_BUFFER = 15; export const LIVESTREAM_STARTED_RECENTLY_BUFFER = 15; -export const LIVESTREAM_UPCOMING_BUFFER = 35; +export const LIVESTREAM_UPCOMING_BUFFER = 5; export const FETCH_ACTIVE_LIVESTREAMS_MIN_INTERVAL_MS = 5 * 60 * 1000;