mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Reduce notifications polling frequency
This commit is contained in:
@@ -12,8 +12,8 @@ import { mergeObjectListsById } from "@/utils/utils";
|
||||
|
||||
import { useBroadcastsStore } from "./broadcastsStore";
|
||||
|
||||
const ACTIVE_POLLING_INTERVAL = 5000;
|
||||
const INACTIVE_POLLING_INTERVAL = 30000;
|
||||
const ACTIVE_POLLING_INTERVAL = 60000; // 1 minute
|
||||
const INACTIVE_POLLING_INTERVAL = ACTIVE_POLLING_INTERVAL * 10; // 10 minutes
|
||||
|
||||
export const useNotificationsStore = defineStore("notificationsStore", () => {
|
||||
const { startWatchingResource: startWatchingNotifications } = useResourceWatcher(getNotificationStatus, {
|
||||
|
||||
Reference in New Issue
Block a user