Increase `unread_count` polling interval
This commit is contained in:
parent
c34a42fba1
commit
e470cba641
|
|
@ -39,7 +39,7 @@ export const useNotificationsStore = defineStore("notifications", () => {
|
||||||
updateUnreadCount();
|
updateUnreadCount();
|
||||||
timerHandle = setInterval(
|
timerHandle = setInterval(
|
||||||
async () => await updateUnreadCount(),
|
async () => await updateUnreadCount(),
|
||||||
30000
|
150 * 1000
|
||||||
) as unknown as number;
|
) as unknown as number;
|
||||||
} else if (!userStore.loggedIn) {
|
} else if (!userStore.loggedIn) {
|
||||||
log.debug("Notification polling stopped");
|
log.debug("Notification polling stopped");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue