fix(backend): fixed online sessions metric issue in ender service
This commit is contained in:
parent
fe5bebb393
commit
fd9e493038
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ func (se *SessionEnder) ActivePartitions(parts []uint64) {
|
|||
for sessID, _ := range se.sessions {
|
||||
if !activeParts[sessID%se.parts] {
|
||||
delete(se.sessions, sessID)
|
||||
ender.DecreaseActiveSessions()
|
||||
removedSessions++
|
||||
} else {
|
||||
activeSessions++
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue