Initial commit
This commit is contained in:
9
library/LibRedisConn.js
Normal file
9
library/LibRedisConn.js
Normal file
@ -0,0 +1,9 @@
|
||||
const Redis = require('ioredis');
|
||||
const redisConn = new Redis({
|
||||
port: process.env.REDIS_PORT,
|
||||
host: process.env.REDIS_HOST,
|
||||
maxRetriesPerRequest: null,
|
||||
enableReadyCheck: false,
|
||||
});
|
||||
|
||||
module.exports = redisConn;
|
||||
Reference in New Issue
Block a user