Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a small repo to repro a hang in motor
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README
hanging.py
nonhanging.py
requirements.txt
settings.py

README

Note: for this you'll have to be able to connect to a mongo replica set.

Pretty simple. First run

    pip install -r requirements.txt to set up your virtualenv (recommended to use a fresh virtualenv)

Then run

    python nonhanging.py

to make sure that works properly.

Then run

    python hanging.py

to see how that hangs (or at least it does on my machine!)
Something went wrong with that request. Please try again.