Openstatus www.openstatus.dev
6
fork

Configure Feed

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

chore: swr delta (#1033)

authored by

Maximilian Kaske and committed by
GitHub
a07f01c9 6fc04306

+7
+7
apps/web/next.config.js
··· 15 15 // "better-sqlite3" 16 16 ], 17 17 optimizePackageImports: ["@tremor/react"], 18 + /** 19 + * The default stale revalidate time for SWR requests is 1year. 20 + * We can't rely on the default because the status pages will always return the 21 + * STALE data before revalidate. 22 + * @link https://nextjs.org/docs/app/api-reference/next-config-js/swrDelta 23 + */ 24 + swrDelta: 120, 18 25 }, 19 26 logging: { 20 27 fetches: {