Decrease session extension interval to 10 minutes

This commit is contained in:
Cohee
2025-04-06 13:52:57 +03:00
parent d2f2fee989
commit b8057b3c4f

View File

@ -9,8 +9,8 @@ import { ensureImageFormatSupported, getBase64Async, humanFileSize } from './uti
export let currentUser = null; export let currentUser = null;
export let accountsEnabled = false; export let accountsEnabled = false;
// Extend the session every 30 minutes // Extend the session every 10 minutes
const SESSION_EXTEND_INTERVAL = 30 * 60 * 1000; const SESSION_EXTEND_INTERVAL = 10 * 60 * 1000;
/** /**
* Enable or disable user account controls in the UI. * Enable or disable user account controls in the UI.