[PR #186] [MERGED] Add Inspector type and HealthCheckFunc callback option #2680

Closed
opened 2026-03-15 20:57:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/186
Author: @hibiken
Created: 7/29/2020
Status: Merged
Merged: 7/29/2020
Merged by: @hibiken

Base: masterHead: next


📝 Commits (7)

📊 Changes

26 files changed (+3094 additions, -949 deletions)

View changed files

📝 CHANGELOG.md (+6 -0)
📝 client_test.go (+8 -8)
healthcheck.go (+80 -0)
healthcheck_test.go (+101 -0)
inspector.go (+500 -0)
inspector_test.go (+1641 -0)
📝 internal/asynqtest/asynqtest.go (+27 -24)
📝 internal/base/base.go (+7 -0)
📝 internal/rdb/inspect.go (+60 -168)
📝 internal/rdb/inspect_test.go (+338 -379)
📝 internal/rdb/rdb.go (+5 -0)
📝 internal/rdb/rdb_test.go (+132 -132)
📝 internal/testbroker/testbroker.go (+9 -0)
📝 processor_test.go (+5 -5)
📝 recoverer_test.go (+35 -35)
📝 scheduler_test.go (+12 -12)
📝 server.go (+44 -17)
📝 tools/asynq/cmd/del.go (+5 -21)
📝 tools/asynq/cmd/delall.go (+10 -9)
📝 tools/asynq/cmd/enq.go (+5 -21)

...and 6 more files

📄 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/186 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 7/29/2020 **Status:** ✅ Merged **Merged:** 7/29/2020 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `next` --- ### 📝 Commits (7) - [`93f15fb`](https://github.com/hibiken/asynq/commit/93f15fb9696e01f8b6594bc206cf76b513543b05) Add Inspector type - [`a7764dc`](https://github.com/hibiken/asynq/commit/a7764dc6316e65fa89b9ed2570ba41be9f961c04) Minor comment fix - [`5c87cb3`](https://github.com/hibiken/asynq/commit/5c87cb3ed153a6bfe204ed8eaa23321276417125) Fix flaky test - [`b2ed2fa`](https://github.com/hibiken/asynq/commit/b2ed2fa97b64d28f32f48eca181ffdd10a5b0999) Add healthchecker to check broker connection - [`6ff08a1`](https://github.com/hibiken/asynq/commit/6ff08a1767eef7f42006cfa4dfe920dcf9418151) Add Pause and Unpause queue methods to Inspector - [`63c3a12`](https://github.com/hibiken/asynq/commit/63c3a122df923d948a49022c7ab4ba870f7bc192) Fix history command - [`6d5ea0a`](https://github.com/hibiken/asynq/commit/6d5ea0a1df735edb00dca7460f7b77a426c852f8) Update changelog ### 📊 Changes **26 files changed** (+3094 additions, -949 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -0) 📝 `client_test.go` (+8 -8) ➕ `healthcheck.go` (+80 -0) ➕ `healthcheck_test.go` (+101 -0) ➕ `inspector.go` (+500 -0) ➕ `inspector_test.go` (+1641 -0) 📝 `internal/asynqtest/asynqtest.go` (+27 -24) 📝 `internal/base/base.go` (+7 -0) 📝 `internal/rdb/inspect.go` (+60 -168) 📝 `internal/rdb/inspect_test.go` (+338 -379) 📝 `internal/rdb/rdb.go` (+5 -0) 📝 `internal/rdb/rdb_test.go` (+132 -132) 📝 `internal/testbroker/testbroker.go` (+9 -0) 📝 `processor_test.go` (+5 -5) 📝 `recoverer_test.go` (+35 -35) 📝 `scheduler_test.go` (+12 -12) 📝 `server.go` (+44 -17) 📝 `tools/asynq/cmd/del.go` (+5 -21) 📝 `tools/asynq/cmd/delall.go` (+10 -9) 📝 `tools/asynq/cmd/enq.go` (+5 -21) _...and 6 more files_ </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-15 20:57:27 +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#2680
No description provided.