install: Drop unneeded sha2 dependency (#7108)

* Poll for updates slower

* Drop sha2 dependency
This commit is contained in:
Michael Vines
2019-11-22 21:58:26 -07:00
committed by GitHub
parent 3e0b272a20
commit 306fbd8bd8
5 changed files with 34 additions and 30 deletions

View File

@@ -33,7 +33,7 @@ impl Config {
json_rpc_url: json_rpc_url.to_string(),
update_manifest_pubkey: *update_manifest_pubkey,
current_update_manifest: None,
update_poll_secs: 60, // check for updates once a minute
update_poll_secs: 60 * 60, // check for updates once an hour
explicit_release,
releases_dir: PathBuf::from(data_dir).join("releases"),
active_release_dir: PathBuf::from(data_dir).join("active_release"),