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

Default 30 minute connection life timeout should be removed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.4.2
    • None
    • None

    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.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora
            divjot.arora@mongodb.com Divjot Arora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: