wip refacto
This commit is contained in:
parent
cf7fb776bd
commit
28071e585f
18 changed files with 2270 additions and 7587 deletions
|
@ -15,7 +15,7 @@ const REDIS_PREFIX = '#memo#'
|
|||
|
||||
// For Redis Debugging
|
||||
|
||||
const db = function(callback) {
|
||||
export const db = function(callback) {
|
||||
if (conf.sock) {
|
||||
console.log(`Opening redis connection to socket ${conf.host}`)
|
||||
redisClient = redis.createClient(conf.host)
|
||||
|
@ -227,4 +227,3 @@ db.prototype = {
|
|||
}
|
||||
|
||||
}
|
||||
exports.db = db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue