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

Temporarily stop using V1Lazy #14691

Closed
wants to merge 2 commits into from
Closed
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 client/network/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ where
)
};
let builder = builder
.substream_upgrade_protocol_override(upgrade::Version::V1Lazy)
.substream_upgrade_protocol_override(upgrade::Version::V1)
.notify_handler_buffer_size(NonZeroUsize::new(32).expect("32 != 0; qed"))
// NOTE: 24 is somewhat arbitrary and should be tuned in the future if necessary.
// See <https://github.com/paritytech/substrate/pull/6080>
Expand Down
2 changes: 1 addition & 1 deletion client/network/src/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub fn build_transport(
};

let transport = transport
.upgrade(upgrade::Version::V1Lazy)
.upgrade(upgrade::Version::V1)
.authenticate(authentication_config)
.multiplex(multiplexing_config)
.timeout(Duration::from_secs(20))
Expand Down