Added MONGO_CONNECT option at app init. #67

Merged
merged 1 commit into from Jan 25, 2016

Projects

None yet

2 participants

@hbldh
Contributor
hbldh commented Nov 9, 2015

Fixes #66

When using PyMongo >= 3.0 in a multiprocessing setup, one might have to initialize the MongoClient with connect=False keyword. This pull requests adds such a setting.

@ranman
Collaborator
ranman commented Jan 24, 2016

Could you add this option to the docs and I will merge?

@hbldh hbldh Added MONGO_CONNECT option at app init.
Added documentation about connect option.

Fixes #66
75d9877
@hbldh
Contributor
hbldh commented Jan 25, 2016

Added documentation and removed the connect=False in tests that I originally added. They were not needed after all.

@ranman ranman pushed a commit that referenced this pull request Jan 25, 2016
Randall Hunt bump version and update release notes for #67 MONGO_CONNECT argument 3725f8c
@ranman ranman merged commit 75d9877 into dcrosta:master Jan 25, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@blade2005 blade2005 pushed a commit to blade2005/flask-pymongo that referenced this pull request Feb 10, 2017
Randall Hunt + Craig Davis bump version and update release notes for #67 MONGO_CONNECT argument a8bdf8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment