summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrimaldia <hariasti.srimaldia-1@jp.alps.com>2016-12-22 16:58:46 +0900
committersrimaldia <hariasti.srimaldia-1@jp.alps.com>2016-12-22 17:07:46 +0900
commit506e7f6e4d6004b71b09255caab332b014a4c19e (patch)
treee017089af5ad756af30ce05bf9b95a5ee8b87fe4
parentfd1a08745b6f31225d31ec717a1cc772d9fb99c3 (diff)
Modify poll interval
Signed-off-by: srimaldia <hariasti.srimaldia-1@jp.alps.com>
-rw-r--r--app/bluetooth/Bluetooth.qml2
-rw-r--r--app/wifi/Wifi.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml
index e8cca1a..cd0d982 100644
--- a/app/bluetooth/Bluetooth.qml
+++ b/app/bluetooth/Bluetooth.qml
@@ -302,7 +302,7 @@ SettingPage {
//Timer for periodic refresh; this is BAD solution, need to figure out how to subscribe for events
Timer {
id: periodicRefresh
- interval: (currentState == "idle")? 10000:5000 // 5seconds
+ interval: (currentState == "idle")? 10000:1000 // 1second
onTriggered: {
btDeviceList.clear()
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index e0ae950..8f2fff2 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -399,7 +399,7 @@ SettingPage {
//Timer for periodic refresh; this is BAD solution, need to figure out how to subscribe for events
Timer {
id: periodicRefresh
- interval: 5000 // 5seconds
+ interval: 1000 // 1second
onTriggered: {
networkList.clear()