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
chore: revert expired expirations cron
Scott Wilsonad4823f1c82d
diff --git a/backend/src/services/resource-cleanup/resource-cleanup-queue.ts b/backend/src/services/resource-cleanup/resource-cleanup-queue.tsindex 6d5044bf85..777df64304 100644--- a/backend/src/services/resource-cleanup/resource-cleanup-queue.ts+++ b/backend/src/services/resource-cleanup/resource-cleanup-queue.ts@@ -97,6 +97,7 @@ export const dailyResourceCleanUpQueueServiceFactory = ({await userNotificationDAL.pruneNotifications();await keyValueStoreDAL.pruneExpiredKeys();await scepTransactionDAL.pruneExpiredTransactions();+ await identityAccessTokenRevocationDAL.removeExpiredRevocations();}});@@ -167,10 +168,6 @@ export const dailyResourceCleanUpQueueServiceFactory = ({handler: async () => {logger.info(`cron[${CronJobName.FrequentResourceCleanup}]: task started`);await identityAccessTokenDAL.removeExpiredTokens();- const deletedRevocations = await identityAccessTokenRevocationDAL.removeExpiredRevocations();- logger.info(- `cron[${CronJobName.FrequentResourceCleanup}]: removed ${deletedRevocations} expired identity access token revocations`- );const newlyExpired = await approvalRequestDAL.markExpiredRequests();if (newlyExpired > 0) {await certificateRequestDAL.markExpiredApprovalRequests();