mirror of
https://github.com/ivabus/binhost
synced 2024-11-25 01:05:06 +03:00
Add whitespace
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
5d2944928f
commit
6cc6e28c40
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "binhost"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/ivabus/binhost"
|
||||
|
|
|
@ -31,6 +31,7 @@ fi
|
|||
"#;
|
||||
#[cfg(not(feature = "sha256"))]
|
||||
static HASH_CALCULATION_SH: &str = "";
|
||||
|
||||
async fn reload_bins(bins: (&mut HashMap<String, Bin>, &mut Instant), args: &Args) {
|
||||
if (Instant::now() - *bins.1).as_secs() > args.refresh {
|
||||
*bins.0 = get_bins(args).await;
|
||||
|
|
Loading…
Reference in a new issue