From 2703dec6dbca545d3ba53d2fdbef3c0eee2132b8 Mon Sep 17 00:00:00 2001 From: Gerard Wagener Date: Wed, 10 Apr 2019 10:23:04 +0200 Subject: [PATCH] chg: [pibs] process old files first with -u switch --- bin/pibs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pibs.c b/bin/pibs.c index e6c90ca..e5030df 100644 --- a/bin/pibs.c +++ b/bin/pibs.c @@ -450,7 +450,7 @@ void process_redis_list(pibs_t* pibs) } } do { - reply = redisCommand(pibs->ctx,"LPOP %s", pibs->key); + reply = redisCommand(pibs->ctx,"RPOP %s", pibs->key); if (reply) { rtype = reply->type; if (rtype == REDIS_REPLY_STRING ) {