MCPcopy Create free account
hub / github.com/compozy/agh / extractorTTL

Method extractorTTL

internal/daemon/memory_runtime.go:646–651  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

644}
645
646func (e *forkedMemoryExtractor) extractorTTL() time.Duration {
647 if e.deadline > 0 {
648 return e.deadline + memoryExtractorStopTimeout
649 }
650 return 2 * time.Minute
651}
652
653func (e *forkedMemoryExtractor) stopChild(parentCtx context.Context, id string) {
654 stopCtx, cancel := context.WithTimeout(context.WithoutCancel(parentCtx), memoryExtractorStopTimeout)

Callers 1

ExtractMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected