From c413d8aa2250fb413d75320ccc302f881f215c2a Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Sun, 11 Aug 2024 18:23:43 +0200 Subject: [PATCH] refactor: increase version check interval --- src/cli/version.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/version.rs b/src/cli/version.rs index 0574bd5..52ba510 100644 --- a/src/cli/version.rs +++ b/src/cli/version.rs @@ -37,7 +37,7 @@ fn get_repo() -> (String, String) { ) } -const CHECK_INTERVAL: chrono::Duration = chrono::Duration::seconds(30); +const CHECK_INTERVAL: chrono::Duration = chrono::Duration::hours(6); pub fn check_for_updates(reqwest: &reqwest::blocking::Client) -> anyhow::Result<()> { let (owner, repo) = get_repo();