This commit is contained in:
DarkGopher 2025-06-24 00:16:41 +02:00
parent 994871426d
commit 6e35a53b56
4 changed files with 2 additions and 7 deletions

View file

@ -20,8 +20,8 @@ func init() {
// ProviderMemory implement memory session provider
type ProviderMemory struct {
lock sync.Mutex
sessions map[string]*list.Element //save to RAM
li *list.List //for GC
sessions map[string]*list.Element //save to RAM
}
func (pder *ProviderMemory) updateAtime(sid string) {