mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 23:48:05 -05:00
Update secret-rotation-v2-queue.ts
This commit is contained in:
@@ -84,10 +84,7 @@ export const secretRotationV2QueueServiceFactory = async ({
|
|||||||
secretRotationV2DAL,
|
secretRotationV2DAL,
|
||||||
secretRotationV2Service
|
secretRotationV2Service
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
await queueService.queuePg(
|
await queueService.queuePg(
|
||||||
QueueJobs.SecretRotationV2RotateSecrets,
|
QueueJobs.SecretRotationV2RotateSecrets,
|
||||||
{
|
{
|
||||||
@@ -97,6 +94,7 @@ export const secretRotationV2QueueServiceFactory = async ({
|
|||||||
getSecretRotationRotateSecretJobOptions(rotation)
|
getSecretRotationRotateSecretJobOptions(rotation)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(error, "secretRotationV2Queue: Queue Rotations Error:");
|
logger.error(error, "secretRotationV2Queue: Queue Rotations Error:");
|
||||||
throw error;
|
throw error;
|
||||||
|
|||||||
Reference in New Issue
Block a user