Compare commits

...

1 Commits

Author SHA1 Message Date
Maidul Islam
93268f5767 increase license server ttl 2024-03-01 13:06:00 -05:00

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 = ({