Skip to content

Commit e74ba5c

Browse files
authored
Wording correction in README (#1218)
* fixed grammatical error * Update AUTHORS
1 parent 4b65372 commit e74ba5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Ilia Cimpoes <ichimpoesh at gmail.com>
4545
INADA Naoki <songofacandy at gmail.com>
4646
Jacek Szwec <szwec.jacek at gmail.com>
4747
James Harr <james.harr at gmail.com>
48+
Janek Vedock <janekvedock at comcast.net>
4849
Jeff Hodges <jeff at somethingsimilar.com>
4950
Jeffrey Charles <jeffreycharles at gmail.com>
5051
Jerome Meyer <jxmeyer at gmail.com>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ db.SetMaxIdleConns(10)
8585

8686
`db.SetMaxOpenConns()` is highly recommended to limit the number of connection used by the application. There is no recommended limit number because it depends on application and MySQL server.
8787

88-
`db.SetMaxIdleConns()` is recommended to be set same to `db.SetMaxOpenConns()`. When it is smaller than `SetMaxOpenConns()`, connections can be opened and closed very frequently than you expect. Idle connections can be closed by the `db.SetConnMaxLifetime()`. If you want to close idle connections more rapidly, you can use `db.SetConnMaxIdleTime()` since Go 1.15.
88+
`db.SetMaxIdleConns()` is recommended to be set same to `db.SetMaxOpenConns()`. When it is smaller than `SetMaxOpenConns()`, connections can be opened and closed much more frequently than you expect. Idle connections can be closed by the `db.SetConnMaxLifetime()`. If you want to close idle connections more rapidly, you can use `db.SetConnMaxIdleTime()` since Go 1.15.
8989

9090

9191
### DSN (Data Source Name)

0 commit comments

Comments
 (0)