fix formatting and some naming in newsfragments (#754)

This commit is contained in:
Paul Robinson
2025-07-09 15:13:16 -06:00
committed by GitHub
parent 0679efb299
commit b716d64184
12 changed files with 12 additions and 12 deletions

View File

@ -1 +1 @@
Limit concurrency in `push_identify_to_peers` to prevent resource congestion under high peer counts. Limit concurrency in ``push_identify_to_peers`` to prevent resource congestion under high peer counts.

View File

@ -1,6 +1,6 @@
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: 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:
- Removed sending of window updates during writes to maintain correct flow-control. - Removed sending of window updates during writes to maintain correct flow-control.
- Added proper timeout handling when releasing and acquiring locks to prevent concurrency errors. - Added proper timeout handling when releasing and acquiring locks to prevent concurrency errors.
- Corrected the `read` function to properly handle window updates for both `read_until_EOF` and `read_n_bytes`. - Corrected the ``read`` function to properly handle window updates for both ``read_until_EOF`` and ``read_n_bytes``.
- Added event logging at `send_window_updates` and `waiting_for_window_updates` for better observability. - Added event logging at ``send_window_updates`` and ``waiting_for_window_updates`` for better observability.

View File

@ -1 +1 @@
Refactored gossipsub heartbeat logic to use a single helper method `_handle_topic_heartbeat` that handles both fanout and gossip heartbeats. Refactored gossipsub heartbeat logic to use a single helper method ``_handle_topic_heartbeat`` that handles both fanout and gossip heartbeats.

View File

@ -1,2 +1,2 @@
Reordered the arguments to `upgrade_security` to place `is_initiator` before `peer_id`, and made `peer_id` optional. Reordered the arguments to ``upgrade_security`` to place ``is_initiator`` before ``peer_id``, and made ``peer_id`` optional.
This allows the method to reflect the fact that peer identity is not required for inbound connections. This allows the method to reflect the fact that peer identity is not required for inbound connections.

View File

@ -1 +1 @@
Uses the `decapsulate` method of the `Multiaddr` class to clean up the observed address. Uses the ``decapsulate`` method of the ``Multiaddr`` class to clean up the observed address.

View File

@ -1 +1 @@
added peer exchange and backoff logic as part of Gossipsub v1.1 upgrade Added peer exchange and backoff logic as part of Gossipsub v1.1 upgrade

View File

@ -1,4 +1,4 @@
Add timeout wrappers in: Add timeout wrappers in:
1. multiselect.py: `negotiate` function 1. ``multiselect.py``: ``negotiate`` function
2. multiselect_client.py: `select_one_of` , `query_multistream_command` functions 2. ``multiselect_client.py``: ``select_one_of`` , ``query_multistream_command`` functions
to prevent indefinite hangs when a remote peer does not respond. to prevent indefinite hangs when a remote peer does not respond.

View File

@ -1 +1 @@
align stream creation logic with yamux specification Align stream creation logic with yamux specification

View File

@ -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. Fixed an issue in ``Pubsub`` where async validators were not handled reliably under concurrency. Now uses a safe aggregator list for consistent behavior.