Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-250

Automatically create a new socket on fork

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      This will keep people from having to manage reconnects on their own:

      https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/connection.py#L174-193

      Might want to check for performance issues. Also, Ruby's Process.pid doesn't work on all platforms. Need to deal with that, too.

            Assignee:
            kbanker Kyle Banker
            Reporter:
            kbanker Kyle Banker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: