wip refacto

This commit is contained in:
Florian Schmitt 2025-06-08 18:27:17 +03:00
parent cf7fb776bd
commit 28071e585f
18 changed files with 2270 additions and 7587 deletions

View file

@ -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