log on bailout
This commit is contained in:
parent
fdc18f1a71
commit
0e6a5be04b
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ func (c *Context) CleanUpRecordsByAge() error {
|
|||
|
||||
//no events elligible
|
||||
if len(sos) == 0 || ret.RowsAffected == 0 {
|
||||
log.Infof("no event older than %s", c.maxDurationRetention.String())
|
||||
return nil
|
||||
}
|
||||
//let's do it in a single transaction
|
||||
|
|
Loading…
Add table
Reference in a new issue