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