Skip to content

Commit b716d64

Browse files
authored
fix formatting and some naming in newsfragments (#754)
1 parent 0679efb commit b716d64

12 files changed

+12
-12
lines changed

newsfragments/621.feature.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Limit concurrency in `push_identify_to_peers` to prevent resource congestion under high peer counts.
1+
Limit concurrency in ``push_identify_to_peers`` to prevent resource congestion under high peer counts.

newsfragments/639.feature.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Fixed several flow-control and concurrency issues in the `YamuxStream` class. Previously, stress-testing revealed that transferring data over `DEFAULT_WINDOW_SIZE` would break the stream due to inconsistent window update handling and lock management. The fixes include:
1+
Fixed several flow-control and concurrency issues in the ``YamuxStream`` class. Previously, stress-testing revealed that transferring data over ``DEFAULT_WINDOW_SIZE`` would break the stream due to inconsistent window update handling and lock management. The fixes include:
22

33
- Removed sending of window updates during writes to maintain correct flow-control.
44
- Added proper timeout handling when releasing and acquiring locks to prevent concurrency errors.
5-
- Corrected the `read` function to properly handle window updates for both `read_until_EOF` and `read_n_bytes`.
6-
- Added event logging at `send_window_updates` and `waiting_for_window_updates` for better observability.
5+
- Corrected the ``read`` function to properly handle window updates for both ``read_until_EOF`` and ``read_n_bytes``.
6+
- Added event logging at ``send_window_updates`` and ``waiting_for_window_updates`` for better observability.

newsfragments/678.misc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Refactored gossipsub heartbeat logic to use a single helper method `_handle_topic_heartbeat` that handles both fanout and gossip heartbeats.
1+
Refactored gossipsub heartbeat logic to use a single helper method ``_handle_topic_heartbeat`` that handles both fanout and gossip heartbeats.
File renamed without changes.

newsfragments/681.breaking.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Reordered the arguments to `upgrade_security` to place `is_initiator` before `peer_id`, and made `peer_id` optional.
1+
Reordered the arguments to ``upgrade_security`` to place ``is_initiator`` before ``peer_id``, and made ``peer_id`` optional.
22
This allows the method to reflect the fact that peer identity is not required for inbound connections.

newsfragments/684.misc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Uses the `decapsulate` method of the `Multiaddr` class to clean up the observed address.
1+
Uses the ``decapsulate`` method of the ``Multiaddr`` class to clean up the observed address.

newsfragments/690.feature.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
added peer exchange and backoff logic as part of Gossipsub v1.1 upgrade
1+
Added peer exchange and backoff logic as part of Gossipsub v1.1 upgrade

newsfragments/696.bugfix.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Add timeout wrappers in:
2-
1. multiselect.py: `negotiate` function
3-
2. multiselect_client.py: `select_one_of` , `query_multistream_command` functions
2+
1. ``multiselect.py``: ``negotiate`` function
3+
2. ``multiselect_client.py``: ``select_one_of`` , ``query_multistream_command`` functions
44
to prevent indefinite hangs when a remote peer does not respond.

newsfragments/701.bugfix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
align stream creation logic with yamux specification
1+
Align stream creation logic with yamux specification

newsfragments/702.bugfix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fixed an issue in `Pubsub` where async validators were not handled reliably under concurrency. Now uses a safe aggregator list for consistent behavior.
1+
Fixed an issue in ``Pubsub`` where async validators were not handled reliably under concurrency. Now uses a safe aggregator list for consistent behavior.

0 commit comments

Comments
 (0)