The implementation of the command lrem is wrong.

The correct order is:
$client->lrem(QUEUE_NAME, 0, $queueId);
instead in the code is used as:
$client->lrem(QUEUE_NAME, $queueId, 0);

This error appear in the queue manager classes (Reliable and not)

Comments

michele.lucchina created an issue. See original summary.

berdir’s picture

Status: Active » Needs review
StatusFileSize
new2.28 KB

Yeah, apparently the order of arguments between phpredis and predis is differently, lovely.

berdir’s picture

StatusFileSize
new2.75 KB

I also noticed that predis pipeline uses execute(), not exec(). One more fix for that.

  • Berdir committed aa44214 on 8.x-1.x
    Issue #3079474 by Berdir, michele.lucchina: The implementation of the...
berdir’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.