show worker queue size in the cluster status

This commit is contained in:
Murat Kabilov
2017-08-28 12:05:33 +02:00
parent f44c8e1206
commit 53ceede3cb
2 changed files with 11 additions and 4 deletions
+3 -2
View File
@@ -102,8 +102,9 @@ type ClusterStatus struct {
// ControllerStatus describes status of the controller
type ControllerStatus struct {
LastSyncTime int64
Clusters int
LastSyncTime int64
Clusters int
WorkerQueueSize map[int]int
}
// QueueDump describes cache.FIFO queue