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

Commit

Permalink
add warning, avoid a warn causing a build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed May 5, 2022
1 parent 0b8c4b9 commit c430a67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,10 @@ pub fn build_full(
None,
overseer_enable_anyways,
overseer_gen,
None,
overseer_message_channel_override.map(|capacity| {
gum::warn!("Channel capacity should _never_ be tampered with on polkadot!");
capacity
}),
hwbench,
)
.map(|full| full.with_client(Client::Polkadot))
Expand Down

0 comments on commit c430a67

Please sign in to comment.