fix: Allow Redis v6 on Heroku

This commit is contained in:
Tom Moor committed 2021-09-08 21:03:12 -07:00
1 parent befa36231c
commit ebcb303d0e
1 file changed
+3
+3
View File
@@ -7,6 +7,9 @@ const options = {
console.warn(`Retrying redis connection: attempt ${times}`);
return Math.min(times * 100, 3000);
},
tls: {
rejectUnauthorized: false,
},
};
const client = new Redis(process.env.REDIS_URL, options);