mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
IDONTWANT message optimisation to cutoff for smaller messages (#6456)
* idontwant message opitmising * requested changes and linter appeasing * added the config cli flag * Merge branch 'unstable' into fix/idontwant-optimise * cli docs generated * const declaration * Hide extra technical cli flag * passing ci * Merge branch 'unstable' into fix/idontwant-optimise
This commit is contained in:
@@ -659,7 +659,15 @@ pub fn cli_app() -> Command {
|
||||
.action(ArgAction::Set)
|
||||
.display_order(0)
|
||||
)
|
||||
|
||||
.arg(
|
||||
Arg::new("idontwant-message-size-threshold")
|
||||
.long("idontwant-message-size-threshold")
|
||||
.help("Specifies the minimum message size for which IDONTWANT messages are sent. \
|
||||
This an optimization strategy to not send IDONTWANT messages for smaller messages.")
|
||||
.action(ArgAction::Set)
|
||||
.hide(true)
|
||||
.display_order(0)
|
||||
)
|
||||
/*
|
||||
* Monitoring metrics
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user