diff options
-rw-r--r-- | CONTRIBUTING.md | 5 | ||||
-rw-r--r-- | config/src/main/java/com/yahoo/vespa/config/LZ4PayloadCompressor.java | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e1cb205e5a5..8e95abfe059 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,9 +12,8 @@ In addition to the [public Travis build](https://travis-ci.org/vespa-engine/vesp we have a large acceptance and performance test suite which is also run continuously. We plan to add this to the open source code base later. -All pull requests are reviewed by a member of the -[Vespa committers](https://github.com/orgs/vespa-engine/teams/vespa/members) team, regardless -of who made it. If you want to become a committer, making some quality contributions is the way to start. +All pull requests are reviewed by a member of the Vespa Committers team. +If you want to become a committer, making some quality contributions is the way to start. ## Versioning Vespa uses semantic versioning - see diff --git a/config/src/main/java/com/yahoo/vespa/config/LZ4PayloadCompressor.java b/config/src/main/java/com/yahoo/vespa/config/LZ4PayloadCompressor.java index 8714aa0e4f6..4e65ec130ac 100644 --- a/config/src/main/java/com/yahoo/vespa/config/LZ4PayloadCompressor.java +++ b/config/src/main/java/com/yahoo/vespa/config/LZ4PayloadCompressor.java @@ -9,9 +9,9 @@ import net.jpountz.lz4.LZ4Factory; * Wrapper for LZ4 compression that selects compression level based on properties. * * @author lulf - * @since 5.19 */ public class LZ4PayloadCompressor { + private static final LZ4Factory lz4Factory = LZ4Factory.safeInstance(); private static final String VESPA_CONFIG_PROTOCOL_COMPRESSION_LEVEL = "VESPA_CONFIG_PROTOCOL_COMPRESSION_LEVEL"; private static final int compressionLevel = getCompressionLevel(); @@ -36,4 +36,5 @@ public class LZ4PayloadCompressor { private LZ4Compressor getCompressor() { return (compressionLevel < 7) ? lz4Factory.fastCompressor() : lz4Factory.highCompressor(); } + } |