-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.8] Delayed jobs are not taken to completion #29637
Comments
I found the location of the problem. return $this->command('rawCommand', $parameters); The problem is that the interface of function rawCommand() is different for classes Redis and RedisCluster. /**
* Send arbitrary things to the redis server.
* @param string $command Required command to send to the server.
* @param mixed ...$arguments Optional variable amount of arguments to send to the server.
* @return mixed
* @example
* <pre>
* $redis->rawCommand('SET', 'key', 'value'); // bool(true)
* $redis->rawCommand('GET", 'key'); // string(5) "value"
* </pre>
*/
public function rawCommand( $command, $arguments ) {} RedisCluster: /**
* Send arbitrary things to the redis server at the specified node
*
* @param String | array $nodeParams key or [host,port]
* @param String $command Required command to send to the server.
* @param mixed $arguments Optional variable amount of arguments to send to the server.
*
* @return mixed
*/
public function rawCommand($nodeParams, $command, $arguments) { } So I think that method |
fixed in #31838 |
Description:
I use Redis Cluster with php-extention phpredis for queues. This worked fine until I added a function call
delay()
.I noticed that:
Steps To Reproduce:
database.php:
.env:
Run:
The text was updated successfully, but these errors were encountered: