feat: slow threshold customizable in sqlx (#1188)
This commit is contained in:
@@ -17,6 +17,7 @@ type (
|
||||
Option func(opts *options)
|
||||
)
|
||||
|
||||
// SetSlowThreshold sets the slow threshold.
|
||||
func SetSlowThreshold(threshold time.Duration) {
|
||||
slowThreshold.Set(threshold)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user