[PR #48] [MERGED] Update asynqmon CLI to handle multiple queues #567

Closed
opened 2026-03-02 05:54:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/48
Author: @hibiken
Created: 1/10/2020
Status: Merged
Merged: 1/11/2020
Merged by: @hibiken

Base: masterHead: feature/asynqmon-multiq


📝 Commits (9)

  • f5cf6a7 Update RDB.Enqueue* methods to be multi queue aware
  • d5970d9 Remove stale field in processor struct
  • 5d431bc Maintain a set of queue names in redis set
  • 70f1320 Change RDB.CurrentStats to be multi-queue aware
  • 8735718 Include each queue counts in stats command output
  • f1e5768 Update RDB.ListEnqueued to list tasks from all queues
  • f96aee3 Add "Queue" column to the output of asynqmon ls
  • d4c7003 Allow filtering results of asynqmon ls enqueued by providing queue
  • aede018 Fix flaky tests

📊 Changes

13 files changed (+666 additions, -286 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 client_test.go (+1 -1)
📝 internal/asynqtest/asynqtest.go (+16 -3)
📝 internal/base/base.go (+3 -1)
📝 internal/rdb/inspect.go (+124 -28)
📝 internal/rdb/inspect_test.go (+390 -180)
📝 internal/rdb/rdb.go (+7 -2)
📝 internal/rdb/rdb_test.go (+38 -28)
📝 processor.go (+0 -6)
📝 processor_test.go (+6 -6)
📝 scheduler_test.go (+6 -6)
📝 tools/asynqmon/cmd/ls.go (+39 -23)
📝 tools/asynqmon/cmd/stats.go (+34 -2)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/48 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 1/10/2020 **Status:** ✅ Merged **Merged:** 1/11/2020 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `feature/asynqmon-multiq` --- ### 📝 Commits (9) - [`f5cf6a7`](https://github.com/hibiken/asynq/commit/f5cf6a7720b652a5c893842a1b495d3f41a752bd) Update RDB.Enqueue* methods to be multi queue aware - [`d5970d9`](https://github.com/hibiken/asynq/commit/d5970d950174f1aee4d07fda79265900e081aeaa) Remove stale field in processor struct - [`5d431bc`](https://github.com/hibiken/asynq/commit/5d431bc247a3a2d68f5ee7fbcd5caf012ef89622) Maintain a set of queue names in redis set - [`70f1320`](https://github.com/hibiken/asynq/commit/70f1320e6eb0a44bd9bd5a141de9188970e71f96) Change RDB.CurrentStats to be multi-queue aware - [`8735718`](https://github.com/hibiken/asynq/commit/8735718c204f97f1a3b40986d0f38d997dc805a8) Include each queue counts in stats command output - [`f1e5768`](https://github.com/hibiken/asynq/commit/f1e5768259539873c35648600052b33af97dc1b6) Update RDB.ListEnqueued to list tasks from all queues - [`f96aee3`](https://github.com/hibiken/asynq/commit/f96aee383214c226b66f9f480b310dc5034e3c6a) Add "Queue" column to the output of `asynqmon ls` - [`d4c7003`](https://github.com/hibiken/asynq/commit/d4c70038d56ef7f89095426486037c2488be99f3) Allow filtering results of `asynqmon ls enqueued` by providing queue - [`aede018`](https://github.com/hibiken/asynq/commit/aede018e2135d7c5260d157958c6ac3a76ec18a5) Fix flaky tests ### 📊 Changes **13 files changed** (+666 additions, -286 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `client_test.go` (+1 -1) 📝 `internal/asynqtest/asynqtest.go` (+16 -3) 📝 `internal/base/base.go` (+3 -1) 📝 `internal/rdb/inspect.go` (+124 -28) 📝 `internal/rdb/inspect_test.go` (+390 -180) 📝 `internal/rdb/rdb.go` (+7 -2) 📝 `internal/rdb/rdb_test.go` (+38 -28) 📝 `processor.go` (+0 -6) 📝 `processor_test.go` (+6 -6) 📝 `scheduler_test.go` (+6 -6) 📝 `tools/asynqmon/cmd/ls.go` (+39 -23) 📝 `tools/asynqmon/cmd/stats.go` (+34 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:54:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#567
No description provided.