Skip to content

Commit

Permalink
Update service.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed May 5, 2024
1 parent 26e2434 commit 423e7e8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/fetch/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ async fn fetch_if_older(
}

if entry.fetch_time > threshold || state.offline.load(Ordering::SeqCst) || prefer_cached {
println!(
"{fetch_time} - {threshold} - {prefer_cached}",
fetch_time = entry.fetch_time
);
state.initialized();
return ServiceResult::Ok(entry.config.clone());
}
Expand Down

0 comments on commit 423e7e8

Please sign in to comment.