MCPcopy
hub / github.com/grafana/tempo / NewActiveUsersCleanupWithDefaultValues

Function NewActiveUsersCleanupWithDefaultValues

pkg/util/active_user.go:105–107  ·  view source on GitHub ↗
(cleanupFn func(string))

Source from the content-addressed store, hash-verified

103}
104
105func NewActiveUsersCleanupWithDefaultValues(cleanupFn func(string)) *ActiveUsersCleanupService {
106 return NewActiveUsersCleanupService(3*time.Minute, 15*time.Minute, cleanupFn)
107}
108
109func NewActiveUsersCleanupService(cleanupInterval, inactiveTimeout time.Duration, cleanupFn func(string)) *ActiveUsersCleanupService {
110 s := &ActiveUsersCleanupService{

Callers 1

NewFunction · 0.92

Calls 1

Tested by

no test coverage detected