MCPcopy Index your code
hub / github.com/ZenNotes/zennotes / deleteAll

Method deleteAll

apps/server/internal/httpserver/security.go:135–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func (s *sessionStore) deleteAll() {
136 s.mu.Lock()
137 s.sessions = make(map[string]time.Time)
138 s.persistLocked()
139 s.mu.Unlock()
140}
141
142func newAttemptLimiter(window time.Duration, maxHits int) *attemptLimiter {
143 return &attemptLimiter{

Callers 1

sessionRotateTokenMethod · 0.80

Calls 1

persistLockedMethod · 0.95

Tested by

no test coverage detected