Skip to content

Commit

Permalink
add missing var
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelxk committed Aug 30, 2022
1 parent 8a64318 commit 6f4e88d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compile/src/handlers/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const redisUrlParse = require('redis-url-parse')

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

0 comments on commit 6f4e88d

Please sign in to comment.