国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

redis-queue 沒有連接池導(dǎo)致協(xié)程錯誤

qq260912391

問題描述

這里詳細(xì)描述問題
使用webman redis queue出現(xiàn)協(xié)程錯誤:
根據(jù)錯誤分析猜測是redis queue中redis 配置中沒有連接池導(dǎo)致多協(xié)程公用同一個(gè)redis連接導(dǎo)致錯誤出現(xiàn)。

程序代碼

\Webman\RedisQueue\Redis::send(getenv('queue'), $data);

報(bào)錯信息

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

操作系統(tǒng)及workerman/webman等框架組件具體版本

alibaba linux 3.1
webman 2.1
webman/redis-queue 1.3

388 1 0
1個(gè)回答

walkor 打賞

下次記得有問題,先升級。

  • qq260912391 2025-03-08

    謝謝,切換了源就升級到2.1.0就解決了,之前是1.3

??