refactor code and improve daily cache handling of deleted VMs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-20 16:46:07 +11:00
parent 0517ef88c3
commit 7ea02be91a
7 changed files with 131 additions and 122 deletions

View File

@@ -9,12 +9,6 @@ import (
"github.com/jmoiron/sqlx"
)
// CronTracker manages re-entry protection and status recording for cron jobs.
type CronTracker struct {
db db.Database
bindType int
}
func NewCronTracker(database db.Database) *CronTracker {
return &CronTracker{
db: database,