MCPcopy
hub / github.com/PatchMon/PatchMon / tenantRedisKey

Function tenantRedisKey

server-source-code/internal/notifications/emitter.go:393–398  ·  view source on GitHub ↗
(tenantHost, suffix string)

Source from the content-addressed store, hash-verified

391}
392
393func tenantRedisKey(tenantHost, suffix string) string {
394 if tenantHost != "" {
395 return "t:" + tenantHost + ":" + suffix
396 }
397 return suffix
398}
399
400func (e *Emitter) tryDedup(tenantHost, fp string) bool {
401 ctx := context.Background()

Callers 4

emitMethod · 0.85
tryDedupMethod · 0.85
allowRateMethod · 0.85
IsDelayedCancelledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected