Use alter-var-root instead of def in set-write-concern!.
Using `def` there is unnecessary and redundant.
This commit is contained in:
parent
a0b683e23b
commit
79fa31304a
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