Permalink
Browse files

Merge pull request #1 from bwaldvogel/master

enable slaveok by default
  • Loading branch information...
dcrosta committed Dec 7, 2011
2 parents 16ef642 + 65ca278 commit 09fd634cd8533c0fc3654d0add117d22e39e0477
Showing with 1 addition and 0 deletions.
  1. +1 −0 professor/util.py
View
@@ -135,6 +135,7 @@ def connect_to(database):
host=database['hostname'],
port=27017,
network_timeout=2,
+ slaveok=True,
)
conndb = conn[database['dbname']]

0 comments on commit 09fd634

Please sign in to comment.