This commit is contained in:
Simon Ding
2025-11-12 17:10:58 +08:00
parent 4825cda458
commit 12c3b0c69b

View File

@@ -5,8 +5,11 @@ import (
"polaris/log"
)
func (c *Engine) housekeeping() error {
func (c *Engine) housekeeping() (err error) {
log.Infof("start housekeeping tasks...")
defer func() {
log.Infof("housekeeping tasks completed. err: %v", err)
}()
if err := c.checkDbScraps(); err != nil {
return err