Merge pull request #26 from ghoseb/master

Use `alter-var-root` instead of `def` in set-write-concern!.
This commit is contained in:
Michael Klishin 2012-05-15 05:32:17 -07:00
commit 5bff9cacf2

View file

@ -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!