increase license server ttl

This commit is contained in:
Maidul Islam
2024-03-01 13:06:00 -05:00
parent 318dedb987
commit 93268f5767

View File

@@ -47,7 +47,7 @@ export type TLicenseServiceFactory = ReturnType<typeof licenseServiceFactory>;
const LICENSE_SERVER_CLOUD_LOGIN = "/api/auth/v1/license-server-login";
const LICENSE_SERVER_ON_PREM_LOGIN = "/api/auth/v1/license-login";
const LICENSE_SERVER_CLOUD_PLAN_TTL = 60; // 60s
const LICENSE_SERVER_CLOUD_PLAN_TTL = 60 * 5; // 5 minutes
const FEATURE_CACHE_KEY = (orgId: string) => `infisical-cloud-plan-${orgId}`;
export const licenseServiceFactory = ({