We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f326e20 commit 8b6f476Copy full SHA for 8b6f476
1 file changed
internal/manager/rpaasPodWorker.go
@@ -74,8 +74,6 @@ func (w *RpaasPodWorker) Start() {
74
func (w *RpaasPodWorker) Stop() {
75
if w.StopChan != nil {
76
w.StopChan <- struct{}{}
77
- // Decrement active worker count
78
- activeWorkersGaugeVec.WithLabelValues(w.Service, w.Instance, "pod").Dec()
79
}
80
81
@@ -109,6 +107,7 @@ func (w *RpaasPodWorker) Work() {
109
107
110
108
111
func (w *RpaasPodWorker) cleanup() {
+ activeWorkersGaugeVec.WithLabelValues(w.Service, w.Instance, "pod").Dec()
112
close(w.ReadZoneChan)
113
close(w.WriteZoneChan)
114
close(w.StopChan)
0 commit comments