You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
13
13
### Changed
14
14
- Timezones from `time.Time` are now stored in the database, before all times were stored as UTC. To convert a go `time.Time` back to UTC you can call `t.In(time.UTC)`.
15
15
- Improved host selection to use `hailocab/go-hostpool` to select nodes based on recent responses and timings.
16
+
- Changed connection pool to use `fatih/pool` instead of a custom connection pool, this has caused some internal API changes and the behaviour of `MaxIdle` and `MaxOpen` has slightly changed. This change was made mostly to make driver maintenance easier.
17
+
+`MaxIdle` now configures the initial size of the pool, the name of this field will likely change in the future.
18
+
+ Not setting `MaxOpen` no longer creates an unbounded connection pool per host but instead creates a pool with a maximum capacity of 2 per host.
16
19
17
20
### Deprecated
18
21
- Deprecated the option `NodeRefreshInterval` in `ConnectOpts`
22
+
- Deprecated `SetMaxIdleConns` and `SetMaxOpenConns`, these options should now only be set when creating the session.
0 commit comments