Workerman version:4.0.36 PHP version:7.4.30
\vendor\workerman\redis\src\Client.php
\vendor\workerman\workerman\Connection\TcpConnection.php
好像是因?yàn)?$this->_connection->send($queue[0]);
發(fā)送的是個(gè)數(shù)組,strlen函數(shù)報(bào)錯(cuò),但是我不知道怎么處理,請(qǐng)教下大佬
<?php
return [
'default' => [
'host' => 'redis://127.0.0.1:6379',
'options' => [
'auth' => '', // 密碼,可選參數(shù)
'db' => 0, // 數(shù)據(jù)庫(kù)
'max_attempts' => 5, // 消費(fèi)失敗后,重試次數(shù)
'retry_seconds' => 5, // 重試間隔,單位秒
]
],
];
redis://
????