Commit 75a21a4
Address PR #915 review: future-proof ConnectionConfig merge, doc snippet clarity
- Derive connection_config_attrs from dataclasses.fields(ConnectionConfig) so
new fields (including critical_health_threshold) are never missed when
merging connection_config into quic_transport_opt.
- Add comment that all ConnectionConfig attributes are merged when both
configs are provided.
- Add snippet clarification before first code block in connection health
monitoring docs; point to examples/health_monitoring/basic_example.py.
Continues work from closed PR #915 (health monitoring). Credits bomanaps.
Co-authored-by: Cursor <[email protected]>1 parent c2c0008 commit 75a21a4
File tree
2 files changed
+7
-23
lines changed- docs
- libp2p
2 files changed
+7
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
531 | 532 | | |
532 | 533 | | |
533 | 534 | | |
534 | | - | |
| 535 | + | |
| 536 | + | |
535 | 537 | | |
536 | | - | |
537 | | - | |
| 538 | + | |
538 | 539 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
| 540 | + | |
557 | 541 | | |
558 | | - | |
559 | 542 | | |
560 | 543 | | |
561 | 544 | | |
| |||
0 commit comments