mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
fix: use ! syntax instead of || ""
This commit is contained in:
@@ -3,7 +3,7 @@ import IORedis from "ioredis";
|
||||
import { logger } from "./logger";
|
||||
import type { QueueJob } from "./schema";
|
||||
|
||||
export const connection = new IORedis(process.env.REDIS_URL || "", {
|
||||
export const connection = new IORedis(process.env.REDIS_URL!, {
|
||||
maxRetriesPerRequest: null,
|
||||
});
|
||||
export const jobQueue = new Queue("backupQueue", {
|
||||
|
||||
Reference in New Issue
Block a user