We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a64318 commit 6f4e88dCopy full SHA for 6f4e88d
compile/src/handlers/worker.js
@@ -6,6 +6,7 @@ const redisUrlParse = require('redis-url-parse')
6
7
// Connect to a local redis instance locally, and the Heroku-provided URL in production
8
const REDIS_URL = process.env.REDIS_URL || 'redis://compile_queue:6379'
9
+const { host, port, password } = redisUrlParse(REDIS_URL);
10
const bullOptions = REDIS_URL.includes('rediss://')
11
? {
12
redis: {
0 commit comments