Skip to content

Commit

Permalink
Disable flush after every ObjectMapper write (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-wei authored and fjy committed Dec 7, 2016
1 parent b1bac9f commit d1896a2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public DefaultObjectMapper(JsonFactory factory)
configure(MapperFeature.AUTO_DETECT_SETTERS, false);
configure(MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS, false);
configure(SerializationFeature.INDENT_OUTPUT, false);
configure(SerializationFeature.FLUSH_AFTER_WRITE_VALUE, false);
}

@Override
Expand Down

0 comments on commit d1896a2

Please sign in to comment.