Update StraBa every 50 seconds

This commit is contained in:
Ollo 2023-10-04 20:43:08 +02:00
parent 5923bc830e
commit e42b08bcf3

View File

@ -389,7 +389,7 @@ fn main() -> ExitCode {
} }
} }
if (straba_res.request_time + 60) < seconds as i64 { if (straba_res.request_time + 50) < seconds as i64 {
device_online = check_connection(ip.to_string()); device_online = check_connection(ip.to_string());
// request once a minute new data // request once a minute new data
if device_online == true { if device_online == true {