feat(infisical-pg): completed secret rollback

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:23 +05:30
parent 784cdb4201
commit b5aa6c0000
57 changed files with 2017 additions and 453 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ export type TQueueJobTypes = {
export type TQueueServiceFactory = ReturnType<typeof queueServiceFactory>;
export const queueServiceFactory = (redisUrl: string) => {
const connection = new Redis(redisUrl);
const connection = new Redis(redisUrl, { maxRetriesPerRequest: null });
const queueContainer: Record<
QueueName,
Queue<TQueueJobTypes[QueueName]["payload"], void, TQueueJobTypes[QueueName]["name"]>
@@ -46,7 +46,7 @@ export const queueServiceFactory = (redisUrl: string) => {
TQueueJobTypes[T]["payload"],
void,
TQueueJobTypes[T]["name"]
>(name, jobFn);
>(name, jobFn, { connection });
};
const listen = async <