MCPcopy Create free account
hub / github.com/cronitorio/cronitor-cli / invalidateProcessCache

Function invalidateProcessCache

cmd/dash.go:2910–2915  ·  view source on GitHub ↗

Helper function to invalidate process cache

()

Source from the content-addressed store, hash-verified

2908
2909// Helper function to invalidate process cache
2910func invalidateProcessCache() {
2911 psCache.mutex.Lock()
2912 psCache.lines = nil
2913 psCache.timestamp = time.Time{}
2914 psCache.mutex.Unlock()
2915}
2916
2917// handleUpdateCheck handles GET requests to check for updates
2918func handleUpdateCheck(w http.ResponseWriter, r *http.Request) {

Callers 2

handleRunJobFunction · 0.85
handleKillInstancesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected