Skip to content

Commit

Permalink
Merge pull request #61 from City-of-Helsinki/fix/LINK-1439-session-re…
Browse files Browse the repository at this point in the history
…fetch-interval

LINK-1439 | Increase session refetch interval
  • Loading branch information
jorilindell committed Aug 31, 2023
2 parents 0987094 + 4893851 commit 8fbb1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const MyApp = ({
const [queryClient] = React.useState(() => new QueryClient());

return (
<SessionProvider session={session} refetchInterval={10}>
<SessionProvider session={session} refetchInterval={/* 5 minutes */ 5 * 60}>
<QueryClientProvider client={queryClient}>
<Hydrate state={pageProps.dehydratedState}>
<CookieConsent />
Expand Down

0 comments on commit 8fbb1fd

Please sign in to comment.