diff --git a/daemon/redis.c b/daemon/redis.c index 9026f136d..b42c3b46f 100644 --- a/daemon/redis.c +++ b/daemon/redis.c @@ -1494,7 +1494,7 @@ err1: obj_put(c); } else - redisCommandNR(r->ctx, "SREM calls "PB"", STR_R(id)); + redisCommandNR(m->conf.redis_write->ctx, "SREM calls "PB"", STR_R(id)); } } diff --git a/debian/ngcp-rtpengine-daemon.default b/debian/ngcp-rtpengine-daemon.default index 3d2f084a3..ad78257d4 100644 --- a/debian/ngcp-rtpengine-daemon.default +++ b/debian/ngcp-rtpengine-daemon.default @@ -23,6 +23,7 @@ TABLE=0 # REDIS_WRITE_DB=1 # REDIS_WRITE_AUTH_PW=foobar # REDIS_NUM_THREADS=8 +# REDIS_EXPIRE=86400 # NO_REDIS_REQUIRED=yes # B2B_URL=http://127.0.0.1:8090/ # LOG_LEVEL=6