Skip to content

Commit

Permalink
fix: attempt to fix redis connection error
Browse files Browse the repository at this point in the history
  • Loading branch information
wajeht committed Sep 17, 2022
1 parent e3ee498 commit edaf1c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/services/jobs/download-user-data.job.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,8 @@ async function downloadUserDataProcess(user_id) {
// -------------------- que --------------------

const downloadUserDataQue = new Bull('download-user-data', {
port: REDIS.port,
host: REDIS.host,
username: REDIS.username,
password: REDIS.password,
db: REDIS.db,
maxRetriesPerRequest: null,
enableReadyCheck: false,
});

downloadUserDataQue.process(async (job) => {
Expand Down

0 comments on commit edaf1c0

Please sign in to comment.