mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 16:27:40 +00:00
Remove previous queue running the migration
This commit is contained in:
@@ -173,12 +173,6 @@ export const dailyReminderQueueServiceFactory = ({
|
|||||||
{ pattern: "0 */1 * * *", utc: true },
|
{ pattern: "0 */1 * * *", utc: true },
|
||||||
QueueName.SecretReminderMigration // just a job id
|
QueueName.SecretReminderMigration // just a job id
|
||||||
);
|
);
|
||||||
|
|
||||||
await queueService.queue(QueueName.SecretReminderMigration, QueueJobs.SecretReminderMigration, undefined, {
|
|
||||||
delay: 5000,
|
|
||||||
jobId: QueueName.SecretReminderMigration,
|
|
||||||
repeat: { pattern: "0 */1 * * *", utc: true }
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
queueService.listen(QueueName.DailyReminders, "failed", (_, err) => {
|
queueService.listen(QueueName.DailyReminders, "failed", (_, err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user