mirror of
https://github.com/oarkflow/mq.git
synced 2025-09-27 04:15:52 +08:00
update
This commit is contained in:
@@ -894,7 +894,7 @@ func (c *Consumer) handleStats(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
// Gather consumer and pool stats using formatted metrics.
|
||||
stats := map[string]interface{}{
|
||||
stats := map[string]any{
|
||||
"consumer_id": c.id,
|
||||
"queue": c.queue,
|
||||
"pool_metrics": c.pool.FormattedMetrics(),
|
||||
|
Reference in New Issue
Block a user