mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 15:09:01 +01:00
fix(scheduler): change session expiration check interval to 30 seconds from 1ms
Increase interval for checking protected session expiration from 1ms to 30s.
This commit is contained in:
parent
704f2c2238
commit
968b595aec
@ -66,7 +66,7 @@ sqlInit.dbReady.then(() => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
setInterval(() => checkProtectedSessionExpiration(), 1);
|
setInterval(() => checkProtectedSessionExpiration(), 30000);
|
||||||
});
|
});
|
||||||
|
|
||||||
function checkProtectedSessionExpiration() {
|
function checkProtectedSessionExpiration() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user