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

Function HandoffSucceeded

internal/maintnotifications/logs/log_messages.go:153–159  ·  view source on GitHub ↗
(connID uint64, newEndpoint string)

Source from the content-addressed store, hash-verified

151}
152
153func HandoffSucceeded(connID uint64, newEndpoint string) string {
154 message := fmt.Sprintf("conn[%d] %s to %s", connID, HandoffSuccessMessage, newEndpoint)
155 return appendJSONIfDebug(message, map[string]interface{}{
156 "connID": connID,
157 "endpoint": newEndpoint,
158 })
159}
160
161// Timeout-related log functions
162func RelaxedTimeoutDueToNotification(connID uint64, notificationType string, timeout interface{}) string {

Callers 1

Calls 1

appendJSONIfDebugFunction · 0.85

Tested by

no test coverage detected