Skip to content

Commit

Permalink
fix(hubble): temporarily disable client_updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed May 31, 2024
1 parent 2bb31b3 commit 5481cb1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions hubble/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,17 @@ async fn main() -> color_eyre::eyre::Result<()> {

let indexers = args.indexers.clone();

let client_updates = async move {
let mut interval = tokio::time::interval(Duration::from_secs(10 * 60));
// let client_updates = async move {
// let mut interval = tokio::time::interval(Duration::from_secs(10 * 60));

loop {
info!("fetching new client counterparty_chain_ids");
chain_id_query::tx(db.clone(), indexers.clone()).await;
interval.tick().await;
}
};
// loop {
// info!("fetching new client counterparty_chain_ids");
// chain_id_query::tx(db.clone(), indexers.clone()).await;
// interval.tick().await;
// }
// };

set.spawn(client_updates);
// set.spawn(client_updates);

while let Some(res) = set.join_next().await {
match res {
Expand Down

0 comments on commit 5481cb1

Please sign in to comment.