Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix failing ci
Andrey1c904b02012b
diff --git a/backend/src/lib/gateway-v2/gateway-load-tracker.ts b/backend/src/lib/gateway-v2/gateway-load-tracker.tsindex 7eb94d2b17..9fcdc92e2f 100644--- a/backend/src/lib/gateway-v2/gateway-load-tracker.ts+++ b/backend/src/lib/gateway-v2/gateway-load-tracker.ts@@ -33,11 +33,11 @@ let tracker: TGatewayLoadTracker | undefined;const REPORTED_LOAD_TTL_SECONDS = 60;const REPORTED_LOAD_MAX_AGE_MS = 35_000;-const reportedKey = KeyStorePrefixes.GatewayReportedLoad;-const reservationKey = KeyStorePrefixes.GatewayLoadReservation;-const suspectKey = KeyStorePrefixes.GatewaySuspect;-export const initGatewayLoadTracker = (keyStore: TKeyStoreFactory): TGatewayLoadTracker => {+ const reportedKey = KeyStorePrefixes.GatewayReportedLoad;+ const reservationKey = KeyStorePrefixes.GatewayLoadReservation;+ const suspectKey = KeyStorePrefixes.GatewaySuspect;+// Timestamps rather than a count, so channels opened since a gateway's last report can be added on top.const openChannels = new Map<string, number[]>();const reservationTimers = new Set<NodeJS.Timeout>();