1
0
Fork 0

Modify the update rate of the closest airport with METAR to 10 seconds.

This commit is contained in:
legoboyvdlp R 2019-08-27 20:41:26 +01:00
parent 1ede51f3f6
commit eafe5dadc0

View file

@ -274,7 +274,7 @@ void BasicRealWxController::init()
update(0); // fetch data ASAP
globals->get_event_mgr()->addTask("checkNearbyMetar", this,
&BasicRealWxController::checkNearbyMetar, 60 );
&BasicRealWxController::checkNearbyMetar, 10 );
}
void BasicRealWxController::reinit()
@ -395,7 +395,6 @@ void BasicRealWxController::checkNearbyMetar()
catch( sg_exception & ) {
return;
}
}