Skip to content

Commit

Permalink
refactor: update log
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Sep 26, 2024
1 parent 527317d commit 1de0a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/javadb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (u *Updater) isNewDB(meta db.Metadata) bool {
}

if now.Before(meta.DownloadedAt.Add(time.Hour * 24)) { // 1 day
log.Debug("Java DB update was skipped because the local Java DB was downloaded during the last hour")
log.Debug("Java DB update was skipped because the local Java DB was downloaded during the last day")
return true
}
return false
Expand Down

0 comments on commit 1de0a81

Please sign in to comment.