diff --git a/src/monger/core.clj b/src/monger/core.clj index 2ec8805..aec61b9 100644 --- a/src/monger/core.clj +++ b/src/monger/core.clj @@ -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!