[GODRIVER-750] MaxConnIdleTime not working Created: 06/Jan/19 Updated: 28/Jan/19 Resolved: 28/Jan/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | wzhsh90 | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
mOpt := options.Client()
that is my code , but I find the connection never release after the max idle time .
|
| Comments |
| Comment by Kristofer Brandow (Inactive) [ 08/Jan/19 ] |
|
Hi wzhsh, The connection pool implementation is lazy, so expired idle connections will only be closed once an attempt to retrieve a connection is made. Does this answer your inquiry? You can follow along with Thanks, Kris |
| Comment by wzhsh90 [ 06/Jan/19 ] |
|
that is not work, I type the wrong word |