mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
5 lines
187 B
Python
5 lines
187 B
Python
# Just a arbitrary large number.
|
|
# It is used when calling `MplexStream.read(MAX_READ_LEN)`,
|
|
# to avoid `MplexStream.read()`, which blocking reads until EOF.
|
|
MAX_READ_LEN = 2 ** 32 - 1
|