Change default write concern to ACKNOWLEDGED
Recommended by MongoDB docs, also forward compatibility with MongoDB 2.6.
This commit is contained in:
parent
b4472e7167
commit
5d5c5dbced
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
(declare ^:dynamic ^MongoClient *mongodb-connection*)
|
(declare ^:dynamic ^MongoClient *mongodb-connection*)
|
||||||
(declare ^:dynamic ^DB *mongodb-database*)
|
(declare ^:dynamic ^DB *mongodb-database*)
|
||||||
(def ^:dynamic ^WriteConcern *mongodb-write-concern* WriteConcern/SAFE)
|
(def ^:dynamic ^WriteConcern *mongodb-write-concern* WriteConcern/ACKNOWLEDGED)
|
||||||
|
|
||||||
(declare ^:dynamic ^GridFS *mongodb-gridfs*)
|
(declare ^:dynamic ^GridFS *mongodb-gridfs*)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue