Skip to content

Commit

Permalink
deleted redundant log
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Jul 22, 2022
1 parent 9543d71 commit 95c586c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ NewDBDisconnectDetector 新たなDBDisconnectDetectorを作成
func NewDBDisconnectDetector(durationSec, pauseSec int, db *sql.DB) *DBDisconnectDetector {
return &DBDisconnectDetector{
t: NewTicker(durationSec*1000, func() {
log.Println("check DB connection")
err := db.Ping()
if err != nil {
log.Panic("DB disconnected")
Expand Down

0 comments on commit 95c586c

Please sign in to comment.