Skip to content

Commit

Permalink
INTG-1840: increase slow query logging threshold (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
atashbahar authored May 28, 2021
1 parent 491ace4 commit 0478b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/feed/exporter_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func NewSQLExporter(dialect, connectionString string, autoMigrate bool, exportMe
logger := util.GetLogger()
gormLogger := &util.GormLogger{
SugaredLogger: logger,
SlowThreshold: time.Second,
SlowThreshold: 30 * time.Second,
}

var dialector gorm.Dialector
Expand Down

0 comments on commit 0478b6c

Please sign in to comment.