13 lines
226 B
JavaScript
13 lines
226 B
JavaScript
|
import config from 'config';
|
||
|
import redis from 'redis';
|
||
|
|
||
|
// logger.verbose('Redis module initialized');
|
||
|
|
||
|
const redisClient = redis.createClient({
|
||
|
socket: config.redis,
|
||
|
});
|
||
|
|
||
|
redisClient.connect();
|
||
|
|
||
|
export default redisClient;
|