MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / cancelAllIdleTTLLocked

Method cancelAllIdleTTLLocked

agent/task_runtime.go:818–823  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

816}
817
818func (rt *AgentTaskRuntime) cancelAllIdleTTLLocked() {
819 for taskID, cancel := range rt.idleTTLCancels {
820 cancel()
821 delete(rt.idleTTLCancels, taskID)
822 }
823}
824
825func (rt *AgentTaskRuntime) unregisterRecordLocked(taskID string) *AgentTaskRecord {
826 rt.cancelIdleTTLLocked(taskID)

Callers 2

ImportSnapshotMethod · 0.95
ShutdownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected