Skip to content

Commit 6829ddd

Browse files
authored
Merge pull request libp2p#767 from Winter-Soren/bug/694-circuit-relay-stream-hangs-indefinite
Bug/694 circuit relay stream hangs indefinite
2 parents 40466dc + f5a9da5 commit 6829ddd

File tree

23 files changed

+1424
-953
lines changed

23 files changed

+1424
-953
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ typecheck:
4646
pre-commit run mypy-local --all-files && pre-commit run pyrefly-local --all-files
4747

4848
test:
49-
python -m pytest tests -n auto --timeout=1200
49+
python -m pytest tests -n auto
5050

5151
pr: clean fix lint typecheck test
5252

docs/contributing.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ To add a new example (e.g., identify):
261261
"echo-demo=examples.echo.echo:main",
262262
"ping-demo=examples.ping.ping:main",
263263
"identify-demo=examples.identify.identify:main",
264+
"circuit-relay-demo=examples.circuit_relay.relay_example:main"
264265
],
265266
}
266267

docs/examples.circuit_relay.rst

Lines changed: 28 additions & 485 deletions
Large diffs are not rendered by default.

examples/circuit_relay/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
Circuit Relay v2 example module.
3+
4+
This package demonstrates the usage of Circuit Relay v2 protocol in libp2p.
5+
"""

0 commit comments

Comments
 (0)