$worker->onWorkerStart = function($worker)
{
$client = new Client('redis://127.0.0.1:6379',['db'=>1]);
$client->subscribe('task-'.$taskID, function($data){
//这里逻辑耗时比较长,超过600秒,第二个消息会出现 PHP Fatal error: Uncaught RuntimeException: Workerman Redis Wait Timeout (10 seconds) 错误
//是不是逻辑不应该写在这里?还是有重连的方法?
});
};
看下10秒是在哪里配置的,改大一点?