converted the sessions map to a pointer map, removed un-needed updates and locks
This commit is contained in:
@@ -15,5 +15,5 @@ type Session struct {
|
||||
lastInteractedPartyIsA bool
|
||||
}
|
||||
|
||||
var openSessions = make(map[string]Session)
|
||||
var openSessions = make(map[string]*Session)
|
||||
var sessionsMu sync.RWMutex
|
||||
|
||||
Reference in New Issue
Block a user