mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-18 18:55:54 +08:00
Fix QueueInfo conversion helper
This commit is contained in:
parent
81eed7e33d
commit
b7667d8c7b
@ -116,6 +116,7 @@ func toQueueStateSnapshot(info *asynq.QueueInfo) *queueStateSnapshot {
|
|||||||
Queue: info.Queue,
|
Queue: info.Queue,
|
||||||
MemoryUsage: info.MemoryUsage,
|
MemoryUsage: info.MemoryUsage,
|
||||||
Size: info.Size,
|
Size: info.Size,
|
||||||
|
Groups: info.Groups,
|
||||||
LatencyMillisec: info.Latency.Milliseconds(),
|
LatencyMillisec: info.Latency.Milliseconds(),
|
||||||
DisplayLatency: info.Latency.Round(10 * time.Millisecond).String(),
|
DisplayLatency: info.Latency.Round(10 * time.Millisecond).String(),
|
||||||
Active: info.Active,
|
Active: info.Active,
|
||||||
|
Loading…
Reference in New Issue
Block a user