Skip to content

Commit

Permalink
Decrease relative proportion of open stream actions in nasty-client
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed May 13, 2024
1 parent 68501dc commit a203589
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sequencer/src/bin/nasty-client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ struct ClientConfig {
#[derive(Clone, Debug, Parser)]
struct ActionDistribution {
/// The weight of query actions in the random distribution.
#[clap(long, env = "ESPRESSO_NASTY_CLIENT_WEIGHT_QUERY", default_value = "5")]
#[clap(long, env = "ESPRESSO_NASTY_CLIENT_WEIGHT_QUERY", default_value = "20")]
weight_query: u8,

/// The weight of "open stream" actions in the random distribution.
Expand All @@ -172,39 +172,39 @@ struct ActionDistribution {
#[clap(
long,
env = "ESPRESSO_NASTY_CLIENT_WEIGHT_POLL_STREAM",
default_value = "5"
default_value = "10"
)]
weight_poll_stream: u8,

/// The weight of "query window" actions in the random distribution.
#[clap(
long,
env = "ESPRESSO_NASTY_CLIENT_WEIGHT_QUERY_WINDOW",
default_value = "3"
default_value = "15"
)]
weight_query_window: u8,

/// The weight of "query namespace" actions in the random distribution.
#[clap(
long,
env = "ESPRESSO_NASTY_CLIENT_WEIGHT_QUERY_NAMESPACE",
default_value = "3"
default_value = "15"
)]
weight_query_namespace: u8,

/// The weight of "query block state" actions in the random distribution.
#[clap(
long,
env = "ESPRESSO_NASTY_CLIENT_WEIGHT_QUERY_BLOCK_STATE",
default_value = "3"
default_value = "15"
)]
weight_query_block_state: u8,

/// The weight of "query fee state" actions in the random distribution.
#[clap(
long,
env = "ESPRESSO_NASTY_CLIENT_WEIGHT_QUERY_FEE_STATE",
default_value = "3"
default_value = "15"
)]
weight_query_fee_state: u8,
}
Expand Down

0 comments on commit a203589

Please sign in to comment.