Skip to content

Commit

Permalink
Rewrite the 1MB message limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Tincu committed Mar 26, 2020
1 parent 8d39e90 commit 3372b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

_XERIAL_V1_HEADER = (-126, b'S', b'N', b'A', b'P', b'P', b'Y', 0, 1, 1)
_XERIAL_V1_FORMAT = 'bccccccBii'
ZSTD_MAX_OUTPUT_SIZE = 1024 ** 2
ZSTD_MAX_OUTPUT_SIZE = 1024 * 1024

try:
import snappy
Expand Down

0 comments on commit 3372b10

Please sign in to comment.