[GODRIVER-1742] Default 30 minute connection life timeout should be removed Created: 03/Sep/20  Updated: 28/Oct/23  Resolved: 14/Sep/20

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.2

Type: Bug Priority: Major - P3
Reporter: Divjot Arora (Inactive) 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

 Description   

Our connections have a default life timeout of 30 minutes set here. There is a WithLifeTimeout ConnectionOption to override this, but it's only used in pool_test.go. This means that a valid connection will be closed by the connection pool maintenance routine 30 minutes after it's been created even if it's valid and could be used by a future operation. We should remove this functionality.



 Comments   
Comment by Githook User [ 14/Sep/20 ]

Author:

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

Message: GODRIVER-1742 Remove connection life timeout (#499)
Branch: release/1.4
https://github.com/mongodb/mongo-go-driver/commit/eb00544bab8b30af02457a2fa8029fb95665ad59

Comment by Githook User [ 14/Sep/20 ]

Author:

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

Message: GODRIVER-1742 Remove connection life timeout (#499)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/459e48b53027873bbf13282b50cea10a65409486

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