Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions .github/workflows/build.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/osv-scanner.yml

This file was deleted.

95 changes: 0 additions & 95 deletions .github/workflows/release.yml

This file was deleted.

6 changes: 1 addition & 5 deletions lib/cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,7 @@ export const run = (name: string, version: string) => {
db: options.database,
uri: options.uri,
tls: options.tls
? {
rejectUnauthorized: false,
requestCert: true,
agent: false,
}
? {} // Use system defaults with proper cert validation
: void 0,
sentinels:
options.sentinels &&
Expand Down
11 changes: 5 additions & 6 deletions lib/queue-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,15 @@ export function getRedisClient(
const { username, password } = redisOptsFromUrl(clusterNodes[0]);
redisClients[key] = new Redis.Cluster(clusterNodes, {
...redisOpts,
// Bypass DNS lookup to preserve hostname for TLS certificate validation
// Required for AWS MemoryDB where certs are issued for hostnames, not IPs
dnsLookup: (address: string, callback: (err: Error | null, address: string) => void) =>
callback(null, address),
redisOptions: {
username,
password,
tls: process.env.REDIS_CLUSTER_TLS
? {
cert: Buffer.from(
process.env.REDIS_CLUSTER_TLS ?? "",
"base64"
).toString("ascii"),
}
? {} // Use system defaults with proper cert validation
: undefined,
},
});
Expand Down
Loading