traxxx-web/src/redis.js

13 lines
226 B
JavaScript
Raw Normal View History

2024-01-08 01:21:57 +00:00
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;