Query full report more frequently
This commit is contained in:
@@ -36,7 +36,7 @@ fn main() {
|
|||||||
std::thread::sleep(refresh_interval);
|
std::thread::sleep(refresh_interval);
|
||||||
// with the default refresh_interval the state is only actively queried every 3min
|
// with the default refresh_interval the state is only actively queried every 3min
|
||||||
// querying the device to frequently can lead to instability
|
// querying the device to frequently can lead to instability
|
||||||
match if run_counter % 60 == 0 {
|
match if run_counter % 30 == 0 {
|
||||||
device.active_refresh_state()
|
device.active_refresh_state()
|
||||||
} else {
|
} else {
|
||||||
device.passive_refresh_state()
|
device.passive_refresh_state()
|
||||||
|
|||||||
Reference in New Issue
Block a user