diff --git a/lib/Service/SessionService.php b/lib/Service/SessionService.php index 3ef033ef4..0d26d822e 100644 --- a/lib/Service/SessionService.php +++ b/lib/Service/SessionService.php @@ -35,7 +35,7 @@ use OCA\NotifyPush\Queue\IQueue; use OCP\Security\ISecureRandom; class SessionService { - public const SESSION_VALID_TIME = 30; + public const SESSION_VALID_TIME = 92; private SessionMapper $sessionMapper; private ITimeFactory $timeFactory; diff --git a/src/sessions.js b/src/sessions.js index 7b86fdb47..740529276 100644 --- a/src/sessions.js +++ b/src/sessions.js @@ -22,7 +22,7 @@ import { listen } from '@nextcloud/notify_push' import { sessionApi } from './services/SessionApi' import store from './store/main' -const SESSION_INTERVAL = 25 // in seconds +const SESSION_INTERVAL = 90 // in seconds let hasPush = false