mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00: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