Skip to content

Commit

Permalink
reduce ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Mar 1, 2024
1 parent 93268f5 commit 53044f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/ee/services/license/license-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 * 5; // 5 minutes
const LICENSE_SERVER_CLOUD_PLAN_TTL = 30; // 30 second
const FEATURE_CACHE_KEY = (orgId: string) => `infisical-cloud-plan-${orgId}`;

export const licenseServiceFactory = ({
Expand Down

0 comments on commit 53044f3

Please sign in to comment.