rabbitmq / rabbitmq-dotnet-client

RabbitMQ .NET client for .NET Standard 2.0+ and .NET 4.6.2+
https://www.rabbitmq.com/dotnet.html
Other
2.07k stars 579 forks source link

Close connections using HTTP API #1540

Closed lukebakken closed 5 months ago

michaelklishin commented 5 months ago

A few other clients do this, too 👍

lukebakken commented 5 months ago

I had too many failures due to rabbitmqctl list_connections timing out. This approach takes a little longer (since you have to wait for connections to show up in the stats tables), but seems to be much more reliable.