Merge pull request #26 from ghoseb/master
Use `alter-var-root` instead of `def` in set-write-concern!.
This commit is contained in:
commit
5bff9cacf2
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@
|
|||
|
||||
Unlike the official Java driver, Monger uses WriteConcern/SAFE by default. We think defaults should be safe first
|
||||
and WebScale fast second."
|
||||
(def ^:dynamic *mongodb-write-concern* wc))
|
||||
(alter-var-root #'*mongodb-write-concern* (constantly wc)))
|
||||
|
||||
|
||||
(defn connect-via-uri!
|
||||
|
|
|
|||
Loading…
Reference in a new issue