This commit is contained in:
Andreas Bielawski 2016-08-16 00:21:25 +02:00
commit b19f79dedb
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,13 @@
local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local config = require('config')
if not config.redis then -- Please update the values in the config.lua!
config.redis = {
host = '127.0.0.1',
port = 6379,
use_socket = false
}
end
-- Overwrite HGETALL
Redis.commands.hgetall = Redis.command('hgetall', {