Skip to content

Commit

Permalink
Reduce log verbosity of API check
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Jan 22, 2025
1 parent dbac552 commit 0fe980b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mullvad-api/src/availability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl ApiAvailability {
/// starting it if it's not currently running.
pub fn reset_inactivity_timer(&self) {
let mut inner = self.acquire();
log::debug!("Restarting API inactivity check");
log::trace!("Restarting API inactivity check");
inner.stop_inactivity_timer();
let availability_handle = self.clone();
inner.inactivity_timer = Some(tokio::spawn(async move {
Expand Down Expand Up @@ -252,7 +252,7 @@ impl ApiAvailabilityState {
}

fn stop_inactivity_timer(&mut self) {
log::debug!("Stopping API inactivity check");
log::trace!("Stopping API inactivity check");
if let Some(timer) = self.inactivity_timer.take() {
timer.abort();
}
Expand Down

0 comments on commit 0fe980b

Please sign in to comment.