Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

availability-recovery: use IfDisconnected::TryConnect for chunks #6081

Merged
merged 7 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/network/availability-recovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ impl RequestChunksFromValidators {
sender
.send_message(NetworkBridgeTxMessage::SendRequests(
requests,
IfDisconnected::ImmediateError,
IfDisconnected::TryConnect,
))
.await;
}
Expand Down
2 changes: 1 addition & 1 deletion node/network/availability-recovery/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ impl TestState {
AllMessages::NetworkBridgeTx(
NetworkBridgeTxMessage::SendRequests(
requests,
IfDisconnected::ImmediateError,
_if_disconnected,
)
) => {
for req in requests {
Expand Down