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

Default 30 minute connection life timeout should be removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.2
    • Component/s: None
    • Security Level: Public
    • Labels:
      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

            Assignee:
            divjot.arora Divjot Arora
            Reporter:
            divjot.arora Divjot Arora
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: