From f0d3ef36e2417e52e4af0041891f771d4c232cf8 Mon Sep 17 00:00:00 2001 From: Ahmad-A0 <71089234+Ahmad-A0@users.noreply.github.com> Date: Sun, 4 Aug 2024 02:12:50 +0100 Subject: [PATCH] Disable retrieving the vqd, as it seems to break things --- src/cache.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cache.rs b/src/cache.rs index 1583461..4fbf4ca 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -76,10 +76,11 @@ impl Cache { } pub fn get_last_vqd<'a, T: From<&'a String>>(self: &'a Self) -> Option { - if self.last_vqd_time - (chrono::Local::now().timestamp_millis() as u64) < 60000 { + None + /*if self.last_vqd_time - (chrono::Local::now().timestamp_millis() as u64) < 60000 { Some((&self.last_vqd).into()) } else { None - } + } */ } -} \ No newline at end of file +}