MCPcopy Create free account
hub / github.com/microsoft/typescript-go / cancelIdleCacheClean

Method cancelIdleCacheClean

internal/project/session.go:570–577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

568}
569
570func (s *Session) cancelIdleCacheClean() {
571 s.idleCacheCleanMu.Lock()
572 defer s.idleCacheCleanMu.Unlock()
573 if s.idleCacheCleanTimer != nil {
574 s.idleCacheCleanTimer.Stop()
575 s.idleCacheCleanTimer = nil
576 }
577}
578
579const performanceTelemetryInterval = 5 * time.Minute
580

Callers 2

CloseMethod · 0.95

Calls 3

StopMethod · 0.80
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected