Skip to content

Commit 65a9e6e

Browse files
committed
Lower threshold to trigger use of prepared statements.
1 parent 7fa2a32 commit 65a9e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (singleton) apply(options ...option) option {
2020
func (singleton) defaults(options ...option) []option {
2121
return append([]option{
2222
Options.Logger(&nop{}),
23-
Options.PreparationThreshold(10),
23+
Options.PreparationThreshold(1),
2424
}, options...)
2525
}
2626

0 commit comments

Comments
 (0)