redis-queue 延迟没有消费

raingor00

问题描述

如果吧delay的参数为0 或者不传的时候,是可以进行正常消费;
我吧delay 调成了2 redis里面就显示{redis-queue}-delayed
消费的方法里却没执行

程序代码或配置

都在default 的server下
// 这个不行
Redis::send("system_manange_consumer", [1, 2], 2);
// 这个可以
Redis::send("system_manange_consumer", [1, 2], 0);

操作系统环境及workerman/webman等具体版本

"require": {
"php": ">=7.2",
"workerman/webman-framework": "^1.5.0",
"monolog/monolog": "^2.0",
"webman/console": "^1.2",
"illuminate/database":"^8.83",
"illuminate/support":"^8.83",
"illuminate/contracts":"^8.83",
"illuminate/redis":"^8.83",
"symfony/translation": "^5.4",
"ext-json": "*",
"ext-redis": "*",
"overtrue/wechat": "~5.0",
"webman/redis-queue": "^1.2",
"vlucas/phpdotenv": "^5.5",
"phpoffice/phpspreadsheet": "^1.29",
"ext-iconv": "*"
},

321 1 0
1个回答

damao

redis-server啥版本,会不会版本太低了?

🔝