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

Commit c430a67

Browse files
committed
add warning, avoid a warn causing a build failure
1 parent 0b8c4b9 commit c430a67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

node/service/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,10 @@ pub fn build_full(
14001400
None,
14011401
overseer_enable_anyways,
14021402
overseer_gen,
1403-
None,
1403+
overseer_message_channel_override.map(|capacity| {
1404+
gum::warn!("Channel capacity should _never_ be tampered with on polkadot!");
1405+
capacity
1406+
}),
14041407
hwbench,
14051408
)
14061409
.map(|full| full.with_client(Client::Polkadot))

0 commit comments

Comments
 (0)