Update StraBa every 50 seconds
This commit is contained in:
parent
5923bc830e
commit
e42b08bcf3
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user