fix
This commit is contained in:
parent
1f724c37da
commit
f96b90e91c
4
sql.go
4
sql.go
@ -964,6 +964,7 @@ func cleanupJobData() {
|
||||
var (
|
||||
jobID int64
|
||||
count int64
|
||||
countDeleted int64
|
||||
isDone int
|
||||
)
|
||||
|
||||
@ -1023,6 +1024,7 @@ func cleanupJobData() {
|
||||
}
|
||||
del, err := delObj.RowsAffected()
|
||||
logOnError(err, "cleanupJobData : rows delObj")
|
||||
countDeleted += del
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
@ -1038,7 +1040,7 @@ func cleanupJobData() {
|
||||
count += 1
|
||||
}
|
||||
|
||||
log.Printf("cleanupJobData : %d jobs\n", count)
|
||||
log.Printf("cleanupJobData : %d jobs scanned, %d obj deleted\n", count, countDeleted)
|
||||
|
||||
/*
|
||||
for _, id := range ids {
|
||||
|
Loading…
Reference in New Issue
Block a user