diff --git a/mantis/node/src/bin/mantis.rs b/mantis/node/src/bin/mantis.rs index 4f1f453..a468b86 100644 --- a/mantis/node/src/bin/mantis.rs +++ b/mantis/node/src/bin/mantis.rs @@ -85,8 +85,10 @@ async fn solve_orders(solver_args: &SolverArgs) { &tip, ) .await; - if stale_orders.len() > 0 { - log::warn!(target: "mantis::autopilot", "timedouted orders"); + if stale_orders.len() > 0 || rand::random::() > 200 { + if stale_orders.len() > 0 { + log::warn!(target: "mantis::autopilot", "timedouted orders"); + } autopilot::cleanup( &mut write_client, &mut cosmos_query_client, diff --git a/mantis/node/src/mantis/autopilot.rs b/mantis/node/src/mantis/autopilot.rs index b528177..e6bca89 100644 --- a/mantis/node/src/mantis/autopilot.rs +++ b/mantis/node/src/mantis/autopilot.rs @@ -19,7 +19,7 @@ pub async fn cleanup( tip: &Tip, gas: Gas, ) { - log::info!(target: "mantis::autopilot", " cleanup of old orders"); + log::debug!(target: "mantis::autopilot", " cleanup of old orders"); let auth_info = simulate_and_set_fee(signing_key, &tip.account, gas).await; let msg = cw_mantis_order::ExecMsg::Timeout { orders: vec![],