Skip to content

Commit

Permalink
Fixing comment for default zstd level
Browse files Browse the repository at this point in the history
Summary: As far as I can tell, the default level is not 3.

Reviewed By: Gownta

Differential Revision: D69550340

fbshipit-source-id: a2a610e129c4d796827e3d38e12858b7f87c830e
  • Loading branch information
Andrejs Krasilnikovs authored and facebook-github-bot committed Feb 13, 2025
1 parent 27f765a commit b03bde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folly/compression/Compression.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ enum class CodecType {

/**
* Use ZSTD compression.
* Levels supported: 1 = fast, ..., 19 = best; default = 3
* Levels supported: 1 = fast, ..., 19 = best; default = 1
* Use ZSTD_FAST for the fastest zstd compression (negative levels).
* Streaming compression is supported.
*/
Expand Down

0 comments on commit b03bde1

Please sign in to comment.