Tweak wifi detection timeout

This commit is contained in:
Ming Ming 2022-06-07 19:58:19 +08:00
parent 49231209a1
commit b2c61766bb

View file

@ -96,7 +96,7 @@ class UpdateMissingMetadata {
throw const InterruptedException(); throw const InterruptedException();
} }
// give a chance to reconnect with the WiFi network // give a chance to reconnect with the WiFi network
if (++count >= 12) { if (++count >= 6) {
KiwiContainer().resolve<EventBus>().fire( KiwiContainer().resolve<EventBus>().fire(
const MetadataTaskStateChangedEvent( const MetadataTaskStateChangedEvent(
MetadataTaskState.waitingForWifi)); MetadataTaskState.waitingForWifi));