Skip to content

Commit 3586afe

Browse files
committed
Optimize end to end execution time
1 parent ef102d7 commit 3586afe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mithril-test-lab/mithril-end-to-end/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct Args {
5151
cardano_slot_length: f64,
5252

5353
/// Length of a Cardano epoch in the devnet (in s)
54-
#[clap(long, default_value_t = 45.0)]
54+
#[clap(long, default_value_t = 30.0)]
5555
cardano_epoch_length: f64,
5656

5757
/// Epoch at which hard fork to the latest Cardano era will be made (starts with the latest era by default)

mithril-test-lab/mithril-end-to-end/src/mithril/aggregator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl Aggregator {
3939
let signed_entity_types = aggregator_config.signed_entity_types.join(",");
4040
let env = HashMap::from([
4141
("NETWORK", "devnet"),
42-
("RUN_INTERVAL", "400"),
42+
("RUN_INTERVAL", "200"),
4343
("SERVER_IP", "0.0.0.0"),
4444
("SERVER_PORT", &server_port_parameter),
4545
("URL_SNAPSHOT_MANIFEST", ""),

mithril-test-lab/mithril-end-to-end/src/mithril/signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl Signer {
3131
format!(r#"{{"markers": [{{"name": "{mithril_era}", "epoch": 0}}]}}"#);
3232
let mut env = HashMap::from([
3333
("NETWORK", "devnet"),
34-
("RUN_INTERVAL", "200"),
34+
("RUN_INTERVAL", "100"),
3535
("AGGREGATOR_ENDPOINT", &aggregator_endpoint),
3636
("DB_DIRECTORY", pool_node.db_path.to_str().unwrap()),
3737
("DATA_STORES_DIRECTORY", &data_stores_path),

0 commit comments

Comments
 (0)