We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f4235 commit e30e33aCopy full SHA for e30e33a
src/app/layout.tsx
@@ -22,7 +22,7 @@ export default function RootLayout({
22
// The session expiry is handled by the server.
23
// The value is set to 10 seconds less than the warning time.
24
// This is to ensure that the warning dialog is only shown when user is authenticated.
25
- const SESSION_REFETCH_SECONDS = Math.floor(WARNING_TIME_MS / 1000) - 10;
+ const SESSION_REFETCH_SECONDS = Math.floor(0.9 * WARNING_TIME_MS / 1000);
26
27
return (
28
<html lang="en">
0 commit comments