Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

comments

Matheus Nogueira758e980a3aa9
diff --git a/backend/src/services/project/project-queue.ts b/backend/src/services/project/project-queue.ts
index fe0af1407d..0cc1def0d7 100644
--- a/backend/src/services/project/project-queue.ts
+++ b/backend/src/services/project/project-queue.ts
@@ -665,7 +665,9 @@ export const projectQueueFactory = ({
QueueJobs.SecretBlindIndexMigration,
{ projectId },
{
- removeOnComplete: { age: 360 },
+ // 1 minute, we don't use it after it's complete, just making sure any race condition can still fetch the job
+ removeOnComplete: { age: 60 },
+ // 1 day, this gives us time to display the error to the customer
removeOnFail: { age: 24 * 3600 },
jobId
}