This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/redis.js
2017-05-09 23:14:24 -07:00

8 lines
180 B
JavaScript

import redis from 'redis';
import redisLock from 'redis-lock';
const client = redis.createClient(process.env.REDIS_URL);
const lock = redisLock(client);
export { client, lock };