Browse Source

adding some redis debug messages

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 14 years ago
parent
commit
332e5d59b5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      daemon/redis.c

+ 4
- 0
daemon/redis.c View File

@ -214,6 +214,8 @@ int redis_restore(struct callmaster *m) {
GQueue q = G_QUEUE_INIT;
int i, j, k, l;
mylog(LOG_DEBUG, "Restoring calls from Redis...\n");
rp = redisCommand(r->ctx, "SMEMBERS calls");
if (!rp || rp->type != REDIS_REPLY_ARRAY) {
mylog(LOG_ERR, "Could not retrieve call list from Redis: %s\n", r->ctx->errstr);
@ -227,6 +229,8 @@ int redis_restore(struct callmaster *m) {
if (rp2->type != REDIS_REPLY_STRING)
continue;
mylog(LOG_DEBUG, "Processing call GUID %s from Redis\n", rp2->str);
rp3 = redisCommand(r->ctx, "HMGET %s callid created", rp2->str);
if (!rp3)


Loading…
Cancel
Save