Skip to content

Commit

Permalink
fix: remove tls option
Browse files Browse the repository at this point in the history
  • Loading branch information
agrattan0820 committed Oct 3, 2023
1 parent 01ba5f4 commit ebc8e56
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/server/src/redis.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import Redis from "ioredis";

const redis = new Redis(
process.env.REDIS_PRIVATE_URL ?? process.env.REDIS_URL ?? "",
{
tls: {
rejectUnauthorized: false,
},
}
process.env.REDIS_PRIVATE_URL ?? process.env.REDIS_URL ?? ""
);

// Listen to connection events to prevent TCP Issue
Expand Down

0 comments on commit ebc8e56

Please sign in to comment.