this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Temporarily disable window gate during EME (#5814)

authored by

Hailey and committed by
GitHub
834beac5 1c6cee7a

+4 -3
+4 -3
src/state/queries/post-feed.ts
··· 28 28 import {DISCOVER_FEED_URI} from '#/lib/constants' 29 29 import {BSKY_FEED_OWNER_DIDS} from '#/lib/constants' 30 30 import {moderatePost_wrapped as moderatePost} from '#/lib/moderatePost_wrapped' 31 - import {useGate} from '#/lib/statsig/statsig' 32 31 import {logger} from '#/logger' 33 32 import {STALE} from '#/state/queries' 34 33 import {DEFAULT_LOGGED_OUT_PREFERENCES} from '#/state/queries/preferences/const' ··· 123 122 params?: FeedParams, 124 123 opts?: {enabled?: boolean; ignoreFilterFor?: string}, 125 124 ) { 126 - const gate = useGate() 127 125 const feedTuners = useFeedTuners(feedDesc) 128 126 const moderationOpts = useModerationOpts() 129 127 const {data: preferences} = usePreferencesQuery() ··· 148 146 * unwanted content, we may over-fetch here to try and fill pages by 149 147 * `MIN_POSTS`. 150 148 */ 151 - const fetchLimit = gate('post_feed_lang_window') ? 100 : MIN_POSTS 149 + 150 + // TEMPORARILY DISABLING GATE TO PREVENT EVENT CONSUMPTION @TODO EME-GATE 151 + // const fetchLimit = gate('post_feed_lang_window') ? 100 : MIN_POSTS 152 + const fetchLimit = MIN_POSTS 152 153 153 154 // Make sure this doesn't invalidate unless really needed. 154 155 const selectArgs = React.useMemo(