mirror of
https://github.com/outline/outline.git
synced 2026-11-29 08:39:20 +03:00
fix: Allow Redis v6 on Heroku
This commit is contained in:
1 parent
befa36231c
commit
ebcb303d0e
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user