mirror of
https://github.com/hibiken/asynq.git
synced 2025-08-19 23:19:10 +08:00
Fix RDB.CurrentStats to report the correct queue size
This commit is contained in:
@@ -224,6 +224,7 @@ func (r *RDB) CurrentStats(qname string) (*Stats, error) {
|
||||
stats.Groups = val
|
||||
case "aggregating_count":
|
||||
stats.Aggregating = val
|
||||
size += val
|
||||
}
|
||||
}
|
||||
stats.Size = size
|
||||
|
Reference in New Issue
Block a user