MCPcopy
hub / github.com/redis/go-redis / CircuitBreakerCleanup

Function CircuitBreakerCleanup

internal/maintnotifications/logs/log_messages.go:603–609  ·  view source on GitHub ↗
(removed int, total int)

Source from the content-addressed store, hash-verified

601}
602
603func CircuitBreakerCleanup(removed int, total int) string {
604 message := fmt.Sprintf("%s removed %d/%d entries", CircuitBreakerCleanupMessage, removed, total)
605 return appendJSONIfDebug(message, map[string]interface{}{
606 "removed": removed,
607 "total": total,
608 })
609}
610
611// ExtractDataFromLogMessage extracts structured data from maintnotifications log messages
612// Returns a map containing the parsed key-value pairs from the structured data section

Callers 1

cleanupMethod · 0.92

Calls 1

appendJSONIfDebugFunction · 0.85

Tested by

no test coverage detected