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

MaxConnIdleTime not working

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      mOpt := options.Client()
      mOpt.SetSingle(false)
      mOpt.SetHeartbeatInterval(15 * time.Second)
      mOpt.SetMaxConnIdleTime(5000)
      mOpt.SetMaxPoolSize(100)

       

      that is my code , but I find the connection never release after the max idle time .

       

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            wzhsh wzhsh90
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: