Merge pull request #3355 from Infisical/feat/refetchInstancePlan

Fetch self hosted license feature set without needing to redeploy the instance
This commit is contained in:
carlosmonastyrski
2025-04-04 12:57:20 -03:00
committed by GitHub
2 changed files with 31 additions and 5 deletions
+4
View File
@@ -1609,6 +1609,10 @@ export const registerRoutes = async (
if (rateLimitSyncJob) {
cronJobs.push(rateLimitSyncJob);
}
const licenseSyncJob = await licenseService.initializeBackgroundSync();
if (licenseSyncJob) {
cronJobs.push(licenseSyncJob);
}
}
server.decorate<FastifyZodProvider["store"]>("store", {