From 4f5e91b5c52d01f0bfa2d4267439c018f44fe758 Mon Sep 17 00:00:00 2001 From: Janek Vedock <83283832+jvedock@users.noreply.github.com> Date: Thu, 3 Jun 2021 00:15:04 -0400 Subject: [PATCH 1/2] fixed grammatical error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb9614cbd..f056e614b 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ db.SetMaxIdleConns(10) `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. -`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. +`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. ### DSN (Data Source Name) From 928160380a3493ded795259d520ea9bfe3048649 Mon Sep 17 00:00:00 2001 From: Janek Vedock <83283832+jvedock@users.noreply.github.com> Date: Thu, 3 Jun 2021 00:20:27 -0400 Subject: [PATCH 2/2] Update AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 50afa2c85..900dfec06 100644 --- a/AUTHORS +++ b/AUTHORS @@ -45,6 +45,7 @@ Ilia Cimpoes INADA Naoki Jacek Szwec James Harr +Janek Vedock Jeff Hodges Jeffrey Charles Jerome Meyer