Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1742

Default 30 minute connection life timeout should be removed

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.2
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: