Skip to content

Commit

Permalink
remove db debug statements for v6 (#2387)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman authored Jan 21, 2025
1 parent 9fb9b22 commit 0ee2b72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions grype/db/v6/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ func NewLowLevelDB(dbFilePath string, empty, writable bool) (*gorm.DB, error) {
opts := []gormadapter.Option{
// 16 KB, useful for smaller DBs since ~85% of the DB is from the blobs table
gormadapter.WithStatements("PRAGMA page_size = 16384"),
// TODO: this should be removed after initial development (or wired to a config option)
gormadapter.WithDebug(true),
}

if empty && !writable {
Expand Down

0 comments on commit 0ee2b72

Please sign in to comment.