$payload = $this->redis->hget("$this->channel.messages", $id);
list($ttr, $message) = explode(';', $payload, 2);
$this->redis->zadd("$this->channel.reserved", time() + $ttr, $id);
For whatever reason $ttr seems to be a string instead of an int. Should we maybe typecast $ttr or throw an exception?
From time to time sentry logs this error:
Unsupported operand types: int + stringStacktrace:
https://github.com/yiisoft/yii2-queue/blob/master/src/drivers/redis/Queue.php#L160
For whatever reason $ttr seems to be a string instead of an int. Should we maybe typecast $ttr or throw an exception?