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 #10839

Merged

Commits on Mar 24, 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.
    aaron-seo committed Mar 24, 2024
    Copy the full SHA
    09d1ec1 View commit details
    Browse the repository at this point in the history