⚡️(frontend) lower silent login retry interval from 5 min to 30 sec
This change enhances user experience by making automatic login more responsive. Only occurs on app navigation/refresh, not internal navigation. Testing in production, can revert if needed. Will later refactor to use backend configuration.
This commit is contained in:
committed by
aleb_the_flash
parent
e210f26f9c
commit
2246bb7782
@@ -26,7 +26,7 @@ export const fetchUser = (
|
||||
// make sure to not resolve the promise while trying to silent login
|
||||
// so that consumers of fetchUser don't think the work already ended
|
||||
if (opts.attemptSilent && canAttemptSilentLogin()) {
|
||||
attemptSilentLogin(300)
|
||||
attemptSilentLogin(30)
|
||||
} else {
|
||||
resolve(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user