Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2285

Don't start kill cursors thread until MongoClient actually connects

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.10.1
    • Fix Version/s: 3.11
    • Component/s: None
    • Labels:
      None

      Description

      We should only start the kill cursors periodic executor once the Client connects to the MongoDB deployment. This way, we avoid spinning up an unnecessary thread in the event that the client never connects.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prashant.mital Prashant Mital (Inactive)
              Reporter:
              prashant.mital Prashant Mital (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: