perf: slow live runtime polling

This commit is contained in:
777genius 2026-05-29 16:15:54 +03:00
parent 322c63ea8b
commit 5898fbeaa9

View file

@ -4,7 +4,7 @@ import { useStore } from '@renderer/store';
import { isTeamProvisioningActive, selectTeamDataForName } from '@renderer/store/slices/teamSlice';
import { useShallow } from 'zustand/react/shallow';
const TEAM_AGENT_RUNTIME_REFRESH_MS = 5_000;
const TEAM_AGENT_RUNTIME_REFRESH_MS = 10_000;
export function shouldWatchTeamAgentRuntime(input: {
enabled: boolean;