Enable the new scheduled tag filtering and set the buffer back to 35 minutes (#669)

This commit is contained in:
Dan Peterson 2022-01-11 10:33:33 -06:00 committed by GitHub
parent 3bba4ab630
commit 1a57b02f80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import { useIsMediumScreen, useIsLargeScreen } from 'effects/use-screensize';
import ClaimListDiscover from 'component/claimListDiscover';
import Button from 'component/button';
import { LIVESTREAM_UPCOMING_BUFFER } from 'constants/livestream';
// import { SCHEDULED_LIVESTREAM_TAG } from 'constants/tags';
import { SCHEDULED_LIVESTREAM_TAG } from 'constants/tags';
import * as SETTINGS from 'constants/settings';
type Props = {
@ -79,6 +79,7 @@ const ScheduledStreams = (props: Props) => {
hasNoSource
orderBy={CS.ORDER_BY_NEW_ASC}
tileLayout={tileLayout}
tags={[SCHEDULED_LIVESTREAM_TAG]}
releaseTime={`>${moment().subtract(LIVESTREAM_UPCOMING_BUFFER, 'minutes').startOf('minute').unix()}`}
hideAdvancedFilter
hideFilters

View file

@ -8,4 +8,4 @@ export const MAX_LIVESTREAM_COMMENTS = 50;
export const LIVESTREAM_STARTS_SOON_BUFFER = 5;
export const LIVESTREAM_STARTED_RECENTLY_BUFFER = 15;
export const LIVESTREAM_UPCOMING_BUFFER = 20; // 35
export const LIVESTREAM_UPCOMING_BUFFER = 35;