GODT-1351: Cache and update of space bytes in user object.
This commit is contained in:
@ -115,6 +115,10 @@ func (u *Users) watchEvents() {
|
||||
log.WithError(err).Error("Failed to load store after reconnecting")
|
||||
}
|
||||
}
|
||||
|
||||
if user.totalBytes == 0 {
|
||||
user.UpdateSpace(nil)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user