From 9929fb7997c90f6a2f32ca5715c07065f48b4b9b Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 20 Oct 2020 11:47:13 +0200 Subject: [PATCH] fix --- sql.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql.go b/sql.go index 95451c1..cccefb2 100644 --- a/sql.go +++ b/sql.go @@ -1013,7 +1013,7 @@ func cleanupJobData() { if err != nil { return } - log.Printf("cleanupJobData : JobID : %d\n", jobID) + // log.Printf("cleanupJobData : JobID : %d\n", jobID) err = doneStmt.QueryRow(jobID).Scan(&isDone) if err != nil { @@ -1029,13 +1029,13 @@ func cleanupJobData() { return } countObjDeleted += del - log.Printf("cleanupJobData : delObj : %d\n", del) + // log.Printf("cleanupJobData : delObj : %d\n", del) } else { logOnError(err, "cleanupJobData : scan doneStmt") return } } else { - log.Printf("cleanupJobData : isDone : %d\n", isDone) + // log.Printf("cleanupJobData : isDone : %d\n", isDone) if isDone == 1 { delJob, err := delJobStmt.Exec(jobID) logOnError(err, "cleanupJobData : exec delJobStmt") @@ -1052,7 +1052,7 @@ func cleanupJobData() { return } countJobDeleted += del - log.Printf("cleanupJobData : delJob : %d\n", del) + /// log.Printf("cleanupJobData : delJob : %d\n", del) } } }