[AA] Set maxAge: Infinity on age assurance cache (#11526)

This commit is contained in:
Samuel Newman
2026-08-21 20:32:15 +03:00
committed by GitHub
parent 44affaa6d7
commit 06cb80a4c3
+7
View File
@@ -57,6 +57,13 @@ const persister = createAsyncStoragePersister({
const [, cacheHydrationPromise] = persistQueryClient({
queryClient: qc,
persister,
/*
* Device signals are local-only and cannot be recovered without prompting
* the user again, so they must survive the persister's default 24-hour
* expiration. Server-backed queries still use their own stale times and
* refetch normally after hydration.
*/
maxAge: Infinity,
})
/*