[PR #364] [MERGED] Report Queue latency #1729

Closed
opened 2026-03-07 22:12:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/364
Author: @hibiken
Created: 12/11/2021
Status: Merged
Merged: 12/11/2021
Merged by: @hibiken

Base: masterHead: feat/queue_latency


📝 Commits (6)

  • a912668 Record time when task moved to pending state
  • 7cb9dcc Add internal timeutil package
  • 718fa2b Use clock in RDB
  • 5d8aa9b Add Latency field to QueueInfo
  • f32cf3d Delete "pending_since" under task-key when state changes to active
  • a19b9d0 Update changelog

📊 Changes

8 files changed (+197 additions, -48 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 inspector.go (+4 -0)
📝 inspector_test.go (+29 -12)
📝 internal/rdb/inspect.go (+21 -3)
📝 internal/rdb/inspect_test.go (+42 -19)
📝 internal/rdb/rdb.go (+37 -14)
📝 internal/rdb/rdb_test.go (+25 -0)
internal/timeutil/timeutil.go (+38 -0)

📄 Description

Checks the item listed in #246


🔄 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/364 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 12/11/2021 **Status:** ✅ Merged **Merged:** 12/11/2021 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `feat/queue_latency` --- ### 📝 Commits (6) - [`a912668`](https://github.com/hibiken/asynq/commit/a91266847de517ac1bf66c168dca082859a57485) Record time when task moved to pending state - [`7cb9dcc`](https://github.com/hibiken/asynq/commit/7cb9dcc06070c53603b89642456ab6a10c7aad9f) Add internal timeutil package - [`718fa2b`](https://github.com/hibiken/asynq/commit/718fa2b31cab3cfb8cf8c7b7a09e468178123c97) Use clock in RDB - [`5d8aa9b`](https://github.com/hibiken/asynq/commit/5d8aa9b105e69b7ec6a5e9cbad8b548d3fba5505) Add Latency field to QueueInfo - [`f32cf3d`](https://github.com/hibiken/asynq/commit/f32cf3d614b1945a1f6615b73bc669d6144cbf27) Delete "pending_since" under task-key when state changes to active - [`a19b9d0`](https://github.com/hibiken/asynq/commit/a19b9d084dce6bc978fa367020781a4b3a03798d) Update changelog ### 📊 Changes **8 files changed** (+197 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `inspector.go` (+4 -0) 📝 `inspector_test.go` (+29 -12) 📝 `internal/rdb/inspect.go` (+21 -3) 📝 `internal/rdb/inspect_test.go` (+42 -19) 📝 `internal/rdb/rdb.go` (+37 -14) 📝 `internal/rdb/rdb_test.go` (+25 -0) ➕ `internal/timeutil/timeutil.go` (+38 -0) </details> ### 📄 Description Checks the item listed in #246 ✅ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 22:12:56 +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#1729
No description provided.