From 0e509f8192f619a27bfaba668c37c84fdf77bb5f Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Thu, 1 Feb 2024 19:54:39 -0500 Subject: [PATCH] Remove noisy log message --- db/db.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/db/db.go b/db/db.go index 9c1f4bcf..51445460 100644 --- a/db/db.go +++ b/db/db.go @@ -24,7 +24,6 @@ import ( const ( SQLiteHeaderSize = 32 bkDelay = 250 - sizeAtOpenWarn = 1024 * 1024 * 1024 durToOpenLog = 2 * time.Second ) @@ -143,10 +142,6 @@ func Open(dbPath string, fkEnabled, wal bool) (retDB *DB, retErr error) { stats.Get(openDuration).(*expvar.Int).Set(time.Since(startTime).Milliseconds()) }() - if sz, err := fileSize(dbPath); err == nil && sz > sizeAtOpenWarn { - logger.Printf("database file is %s, SQLite may take longer to open it", humanize.Bytes(uint64(sz))) - } - ///////////////////////////////////////////////////////////////////////// // Main RW connection rwDSN := MakeDSN(dbPath, ModeReadWrite, fkEnabled, wal)