Skip to content

Commit

Permalink
Change createClient config
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel authored Apr 15, 2024
1 parent 8f83fd4 commit 16e58cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/redis-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { createClient } = require('redis');
const { REDIS_SERVER } = require('../lib/constants');

const setProcessedState = async (value) => {
const client = await createClient(REDIS_SERVER)
const client = await createClient({ url: REDIS_SERVER })
.on('error', err => console.log('Redis Client Error', err))
.connect();

Expand Down

0 comments on commit 16e58cb

Please sign in to comment.