Skip to content

Commit

Permalink
chore(coordinator): Demote some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
luckysori committed Jun 5, 2024
1 parent a023615 commit 5971ecf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coordinator/src/db/funding_fee_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub(crate) fn insert(
diesel::result::DatabaseErrorKind::UniqueViolation,
_,
)) => {
tracing::debug!(
tracing::trace!(
position_id,
%trader_pubkey,
%due_date,
Expand Down
4 changes: 2 additions & 2 deletions coordinator/src/funding_fee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ fn generate_funding_fee_events(
) -> Result<()> {
let mut conn = pool.get()?;

tracing::debug!("Generating funding fee events");
tracing::trace!("Generating funding fee events");

let funding_rate = db::funding_rates::get_funding_rate_charged_in_the_last_hour(&mut conn)?;

let funding_rate = match funding_rate {
Some(funding_rate) => funding_rate,
None => {
tracing::debug!("No current funding rate for this hour");
tracing::trace!("No current funding rate for this hour");
return Ok(());
}
};
Expand Down

0 comments on commit 5971ecf

Please sign in to comment.