diff --git a/bench/src/service_adapter.rs b/bench/src/service_adapter.rs index da5795b6..8528c398 100644 --- a/bench/src/service_adapter.rs +++ b/bench/src/service_adapter.rs @@ -5,7 +5,6 @@ use crate::oldbench; use crate::oldbench::TransactionSize; use crate::tx_size::TxSize; use log::debug; -use log::Level::Debug; use solana_rpc_client::nonblocking::rpc_client::RpcClient; use solana_sdk::commitment_config::CommitmentConfig; use solana_sdk::hash::Hash; diff --git a/benchrunner-service/src/args.rs b/benchrunner-service/src/args.rs index 0fd81367..a224545e 100644 --- a/benchrunner-service/src/args.rs +++ b/benchrunner-service/src/args.rs @@ -1,5 +1,4 @@ use itertools::Itertools; -use log::info; use solana_sdk::signature::Keypair; #[derive(Debug, Clone)] @@ -26,10 +25,9 @@ pub fn read_tenant_configs(env_vars: Vec<(String, String)>) -> Vec .nth(0) .expect("tenant prefix must be split by underscore (e.g. TENANT99_SOMETHING") .replace("TENANT", ""); - let tenant_counter = tenant_counter - .parse::() - .expect("tenant counter must be a number (e.g. TENANT99)"); tenant_counter + .parse::() + .expect("tenant counter must be a number (e.g. TENANT99)") }); let values = map diff --git a/benchrunner-service/src/postgres/metrics_dbstore.rs b/benchrunner-service/src/postgres/metrics_dbstore.rs index bac3bf08..8927ad60 100644 --- a/benchrunner-service/src/postgres/metrics_dbstore.rs +++ b/benchrunner-service/src/postgres/metrics_dbstore.rs @@ -24,7 +24,7 @@ impl BenchRunStatus { pub async fn upsert_benchrun_status( postgres_session: &PostgresSession, tenant_config: &TenantConfig, - bench_config: &BenchConfig, + _bench_config: &BenchConfig, benchrun_at: SystemTime, status: BenchRunStatus, ) { diff --git a/benchrunner-service/src/prometheus/metrics_prometheus.rs b/benchrunner-service/src/prometheus/metrics_prometheus.rs index dd6df53a..8d250659 100644 --- a/benchrunner-service/src/prometheus/metrics_prometheus.rs +++ b/benchrunner-service/src/prometheus/metrics_prometheus.rs @@ -16,7 +16,7 @@ lazy_static::lazy_static! { pub async fn publish_metrics_on_prometheus( tenant_config: &TenantConfig, - bench_config: &BenchConfig, + _bench_config: &BenchConfig, metric: &Metric, ) { let dimensions: &[&str] = &[&tenant_config.tenant_id];