Skip to content

Commit e1f82ec

Browse files
author
Norman Maurer
committed
Merge pull request #27 from aschrijver/master
Removed hardcoded value SAFE for write-concern.
2 parents 1143a9b + 75fa739 commit e1f82ec

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/vertx/mods/MongoPersistor.java

-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ private void doSave(Message<JsonObject> message) {
149149
if (writeConcern == null) {
150150
writeConcern = db.getWriteConcern();
151151
}
152-
writeConcern = WriteConcern.SAFE;
153152
WriteResult res = coll.save(obj, writeConcern);
154153
if (res.getError() == null) {
155154
if (genID != null) {

0 commit comments

Comments
 (0)