[GODRIVER-1560] default connection idleTimeout is 10 minutes not unlimited Created: 08/Apr/20  Updated: 28/Oct/23  Resolved: 15/Apr/20

Status: Closed
Project: Go Driver
Component/s: Connections, Options & Configuration
Affects Version/s: 1.3.1
Fix Version/s: 1.3.3

Type: Bug Priority: Major - P3
Reporter: LT Tsai Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DRIVERS-1977 Add a default idle timeout for pooled... Backlog

 Description   

According to the document, if SetMaxConnIdleTime does not set, the connection idle time should be unlimited. But in newConnectionConfig function, the default value is set to 10 minutes. 



 Comments   
Comment by Githook User [ 15/Apr/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1560 Ensure there is no default idle connection timeout (#369)
Branch: release/1.3
https://github.com/mongodb/mongo-go-driver/commit/e4054589b3890e2baf59c87aba66d442b0ba360e

Comment by Githook User [ 15/Apr/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1560 Ensure there is no default idle connection timeout (#369)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/a0461a4686b0b68fdad3eec79e3f00b1448a584a

Comment by Divjot Arora (Inactive) [ 15/Apr/20 ]

https://github.com/mongodb/mongo-go-driver/pull/369

Generated at Thu Feb 08 08:36:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.