bug: kathy crash loop due to non-standard invocation

buddies-main-deployment
James Prestwich 3 years ago
parent a37a6ed776
commit 06d950e653
No known key found for this signature in database
GPG Key ID: 7CC174C250AD83AD
  1. 8
      rust/kathy/src/main.rs

@ -14,12 +14,8 @@ use optics_base::{agent::OpticsAgent, settings::log::Style};
use crate::{kathy::Kathy, settings::KathySettings as Settings}; use crate::{kathy::Kathy, settings::KathySettings as Settings};
async fn _main(settings: Settings) -> Result<()> { async fn _main(settings: Settings) -> Result<()> {
let kathy = Kathy::from_settings(settings).await?; let relayer = Kathy::from_settings(settings).await?;
relayer.run_all().await?;
// Normally we would run_from_settings
// but for an empty replica vector that would do nothing
kathy.run("").await??;
Ok(()) Ok(())
} }

Loading…
Cancel
Save