From e470cba641f4b824540b1af7936e35c12d604ed0 Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Wed, 28 Aug 2024 22:11:32 +0200 Subject: [PATCH] Increase `unread_count` polling interval --- client/src/stores/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/stores/notifications.ts b/client/src/stores/notifications.ts index 8c0a4476..bed64f82 100644 --- a/client/src/stores/notifications.ts +++ b/client/src/stores/notifications.ts @@ -39,7 +39,7 @@ export const useNotificationsStore = defineStore("notifications", () => { updateUnreadCount(); timerHandle = setInterval( async () => await updateUnreadCount(), - 30000 + 150 * 1000 ) as unknown as number; } else if (!userStore.loggedIn) { log.debug("Notification polling stopped");