Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
fix: Limit mdns dock discovery in setup to 11s
Browse files Browse the repository at this point in the history
MDNS service discovery is hard-coded to 10s in the api class.
Therefore we don't need to wait for 30s in the UI.
  • Loading branch information
zehnm committed Oct 27, 2020
1 parent a9dc41e commit 9cd7a3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup/SetupStep8.qml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ Item {
Timer {
id: mdnsDiscoveryTimeout
running: false
interval: 30000
// api.discoverNetworkServices timeout is hard-coded to 10s
interval: 11000
repeat: false

onTriggered: {
Expand Down

0 comments on commit 9cd7a3f

Please sign in to comment.