diff --git a/daemon/src/maker.rs b/daemon/src/maker.rs index 9ebbb7c..c5bf8d2 100644 --- a/daemon/src/maker.rs +++ b/daemon/src/maker.rs @@ -257,7 +257,7 @@ async fn main() -> Result<()> { tokio::spawn( oracle_actor_context - .notify_interval(Duration::from_secs(60), || oracle::Sync) + .notify_interval(Duration::from_secs(5), || oracle::Sync) .unwrap(), ); let actor = fan_out::Actor::new(&[&cfd_maker_actor_inbox, &monitor_actor_address]) diff --git a/daemon/src/taker.rs b/daemon/src/taker.rs index 967dc79..bc2acef 100644 --- a/daemon/src/taker.rs +++ b/daemon/src/taker.rs @@ -251,7 +251,7 @@ async fn main() -> Result<()> { tokio::spawn(wallet_sync::new(wallet, wallet_feed_sender)); tokio::spawn( oracle_actor_context - .notify_interval(Duration::from_secs(60), || oracle::Sync) + .notify_interval(Duration::from_secs(5), || oracle::Sync) .unwrap(), ); let actor = fan_out::Actor::new(&[&cfd_actor_inbox, &monitor_actor_address])