Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client
117
fork

Configure Feed

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

Fix GrowthBook cache breaking on cold start (#10282)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

authored by

Samuel Newman
Claude Opus 4.6 (1M context)
and committed by
GitHub
226a321a e58feaeb

+2 -3
+2 -3
src/analytics/features/index.ts
··· 14 14 setPolyfills({ 15 15 localStorage: { 16 16 getItem: key => { 17 - const value = CACHE.getString(key) 18 - return value != null ? JSON.parse(value) : null 17 + return CACHE.getString(key) ?? null 19 18 }, 20 19 setItem: async (key, value) => { 21 20 CACHE.set(key, value) ··· 29 28 */ 30 29 export type FeatureFetchStrategy = 'prefer-low-latency' | 'prefer-fresh-gates' 31 30 32 - const TIMEOUT_INIT = 500 // TODO should base on p99 or something 31 + const TIMEOUT_INIT = 2000 // TODO should base on p99 or something 33 32 const TIMEOUT_PREFER_LOW_LATENCY = 250 34 33 const TIMEOUT_PREFER_FRESH_GATES = 1500 35 34