Skip to content

Commit 6f4e88d

Browse files
committed
add missing var
1 parent 8a64318 commit 6f4e88d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compile/src/handlers/worker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const redisUrlParse = require('redis-url-parse')
66

77
// Connect to a local redis instance locally, and the Heroku-provided URL in production
88
const REDIS_URL = process.env.REDIS_URL || 'redis://compile_queue:6379'
9+
const { host, port, password } = redisUrlParse(REDIS_URL);
910
const bullOptions = REDIS_URL.includes('rediss://')
1011
? {
1112
redis: {

0 commit comments

Comments
 (0)