Skip to content

Commit

Permalink
Revert "feat: Adds logging to investigate hangs (#211)"
Browse files Browse the repository at this point in the history
This reverts commit 7bd5c57.
  • Loading branch information
montekki authored Sep 29, 2023
1 parent d03f792 commit c977814
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions bin/withdrawal-finalizer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,5 @@ async fn main() -> Result<()> {
}
}

vlog::info!("Shutting down fianalizer");

Ok(())
}
6 changes: 0 additions & 6 deletions withdrawals-meterer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,10 @@ impl WithdrawalsMeter {
/// Given a set of withdrawal ids meter all of them to a metric
/// with a given name.
pub async fn meter_withdrawals_storage(&mut self, ids: &[i64]) -> Result<(), storage::Error> {
vlog::info!("meter_withdrawals_storage start");

let withdrawals = storage::get_withdrawals(&self.pool, ids).await?;

vlog::info!("meter_withdrawals_storage continued");

self.meter_withdrawals(&withdrawals).await?;

vlog::info!("meter_withdrawals_storage end");

Ok(())
}

Expand Down

0 comments on commit c977814

Please sign in to comment.