Revert "feat(assist-api): no comments"
This reverts commit bd1c4bcdea22a5099a7f5ffb246fdec0bbd6576a.
This commit is contained in:
parent
28cb2ba74c
commit
b7d2d9d77a
1 changed files with 0 additions and 3 deletions
|
|
@ -329,9 +329,6 @@ func (sm *sessionManagerImpl) updateSessions() {
|
|||
|
||||
sm.mutex.RLock()
|
||||
toAdd := make([]string, 0, len(updatedSessIDs))
|
||||
if updatedSessIDs == nil {
|
||||
updatedSessIDs = make(map[string]struct{})
|
||||
}
|
||||
for sessID, _ := range sessIDs {
|
||||
if _, exists := sm.cache[sessID]; !exists {
|
||||
updatedSessIDs[sessID] = struct{}{} // Add to updated sessions if not in cache
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue