contributte / rabbitmq

🐰 RabbitMQ (AMQP, STOMP, MQTT) using BunnyPHP for Nette Framework (@nette).
https://contributte.org/packages/contributte/rabbitmq.html
MIT License
24 stars 25 forks source link

Redeclaring queues and exchanges after each touch #12

Closed dada-amater closed 6 years ago

dada-amater commented 6 years ago

Every time a producer/consumer touches any exchange/queue, it is redeclared in QueueFactory or ExchangeFactory. This is huge waste of performance and it killed our production RabbitMq server. We would like to switch off this behaviour in the config, like there is autoSetupFabric: off in Kdyby/RabbitMq extension.

paveljanda commented 6 years ago

@dada-amater What version do you use?

dada-amater commented 6 years ago

@paveljanda gamee/nette-rabbitmq v2.0.0 via composer

dada-amater commented 6 years ago

Do you have any plans to resolve this issue?

dada-amater commented 6 years ago

I have forked this unmaintained repository. If you combe back, you can merge this: https://github.com/dada-amater/nette-rabbitmq/commit/40f2f6d3ad76f44cd273af89d62e0e7a68eb5fac

paveljanda commented 6 years ago

@dada-amater This repository is maintained. :)

As I mentioned in PR #11 - please remove the composer.json alter and I will merge the PR immediately.

dada-amater commented 6 years ago

@paveljanda great, thanx. Please, can you tag the new release? We will change the package back to yours.