mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Add the missing tests.constants
This commit is contained in:
4
tests/constants.py
Normal file
4
tests/constants.py
Normal file
@ -0,0 +1,4 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user