add log to secretRotationQueue process

pull/1152/head
Maidul Islam 7 months ago
parent 9cc99e41b8
commit a07bd5ad40

@ -30,6 +30,7 @@ import {
const secretRotationQueue = new Queue("secret-rotation-service", process.env.REDIS_URL as string);
secretRotationQueue.process(async (job: Job) => {
logger.info(`secretRotationQueue.process: [rotationDocument=${job.data.rotationDocId}]`);
const rotationStratDocId = job.data.rotationDocId;
const secretRotation = await SecretRotation.findById(rotationStratDocId)
.select("+encryptedData +encryptedDataTag +encryptedDataIV +keyEncoding")

Loading…
Cancel
Save