mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 09:26:37 +00:00
misc: updated repeat schedule for auto renewal
This commit is contained in:
@@ -164,15 +164,16 @@ export const pkiSubscriberQueueServiceFactory = ({
|
|||||||
await queueService.stopRepeatableJob(
|
await queueService.stopRepeatableJob(
|
||||||
QueueName.PkiSubscriber,
|
QueueName.PkiSubscriber,
|
||||||
QueueJobs.PkiSubscriberDailyAutoRenewal,
|
QueueJobs.PkiSubscriberDailyAutoRenewal,
|
||||||
// { pattern: "0 0 * * *", utc: true },
|
{ pattern: "0 0 * * *", utc: true },
|
||||||
{ pattern: "*/30 * * * * *", utc: true },
|
// { pattern: "*/30 * * * * *", utc: true } // for testing
|
||||||
QueueName.PkiSubscriber // just a job id
|
QueueName.PkiSubscriber // just a job id
|
||||||
);
|
);
|
||||||
|
|
||||||
await queueService.queue(QueueName.PkiSubscriber, QueueJobs.PkiSubscriberDailyAutoRenewal, undefined, {
|
await queueService.queue(QueueName.PkiSubscriber, QueueJobs.PkiSubscriberDailyAutoRenewal, undefined, {
|
||||||
delay: 5000,
|
delay: 5000,
|
||||||
jobId: QueueName.PkiSubscriber,
|
jobId: QueueName.PkiSubscriber,
|
||||||
repeat: { pattern: "*/30 * * * * *", utc: true }
|
// { pattern: "*/30 * * * * *", utc: true } // for testing
|
||||||
|
repeat: { pattern: "0 0 * * *", utc: true }
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user