diff --git a/pkg/database/init.go b/pkg/database/init.go index a8aea48..85c25f6 100644 --- a/pkg/database/init.go +++ b/pkg/database/init.go @@ -32,7 +32,7 @@ func InitDefaultDatabase() (*gorm.DB, error) { db.Logger = logger.New( log.New(os.Stdout, "\r\n", log.LstdFlags), logger.Config{ - SlowThreshold: time.Second, + SlowThreshold: time.Second * 3, LogLevel: logger.Warn, Colorful: true, IgnoreRecordNotFoundError: true,