【workbunny】RabbitMQ客户端中Channel无限增加问题

德玛西亚

问题描述

复用开启

生产者

消费

composer

    "php": ">=7.2",
    "workerman/webman-framework": "1.5.18",
    "monolog/monolog": "^2.0",
    "roiwk/rabbitmq": "^1.2",
    "illuminate/database": "^9.52",
    "illuminate/pagination": "^9.52",
    "illuminate/events": "^9.52",
    "symfony/var-dumper": "^6.0",
    "neteast/ys7": "^0.2.2",
    "workbunny/webman-rabbitmq": "2.1.4",
    "webman/console": "1.3.4",
    "workerman/rabbitmq": "1.0.9",
    "bunny/bunny": "^0.5.5"

请问怎么才能做到不是无限增加channel呢,可以使用它闲置的channel

370 2 0
2个回答

chaz6chez

可以先试试dev-master

  • 德玛西亚 2024-08-19

    你好,是composer的最新版和github上的不一样吗

  • chaz6chez 2024-08-19

    升级至2.1.5,配置中开启reuse_channel=true,详情阅读readme

  • 德玛西亚 2024-08-19

    一会我试下,感谢大佬

Dongo

我试了一下我的 channel也会无限增长

×
🔝