Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP API: GET /api/queues/{vhost}/{name} now supports enable_queue_totals (backport #10839) #10844

Merged
merged 1 commit into from Mar 25, 2024

Commits on Mar 25, 2024

  1. Support enable_queue_totals when queue name is specified

    For `/api/queues`, users can specify `disable_stats=true` and
    `enable_queue_totals=true` parameters to return a concise set of
    fields. However, the `enable_queue_totals` is not currently
    supported for `/api/queues/<vhost>/<name>`, probably just a small
    oversight that slipped through the cracks. This commit adds that
    support and updates the respective unit test, focusing on not breaking
    existing public functions and on simplicity, at the cost of a slight
    bit of duplication.
    
    (cherry picked from commit 09d1ec1)
    aaron-seo authored and mergify[bot] committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    635d0a8 View commit details
    Browse the repository at this point in the history