这里详细描述问题
使用webman redis queue出现协程错误:
根据错误分析猜测是redis queue中redis 配置中没有连接池导致多协程公用同一个redis连接导致错误出现。
\Webman\RedisQueue\Redis::send(getenv('queue'), $data);
PHP Fatal error: Uncaught Swoole\Error: Socket#12 has already been bound to another coroutine#3215, reading of the same socket in coroutine#3217 at the same time is not allowed in
alibaba linux 3.1
webman 2.1
webman/redis-queue 1.3
下次记得有问题,先升级。
谢谢,切换了源就升级到2.1.0就解决了,之前是1.3