mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
refactor: increase version check interval
This commit is contained in:
parent
48f591a48a
commit
c413d8aa22
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue