fix golint issues in core/stores (#527)
This commit is contained in:
1
core/stores/cache/cleaner.go
vendored
1
core/stores/cache/cleaner.go
vendored
@@ -39,6 +39,7 @@ func init() {
|
||||
})
|
||||
}
|
||||
|
||||
// AddCleanTask adds a clean task on given keys.
|
||||
func AddCleanTask(task func() error, keys ...string) {
|
||||
timingWheel.SetTimer(stringx.Randn(taskKeyLen), delayTask{
|
||||
delay: time.Second,
|
||||
|
||||
Reference in New Issue
Block a user