Increase dev_finder timeout to 5 mins. (#69)

We are decreasing the retry freq to 4 secs to avoid mdns packets
saturating the network.
This commit is contained in:
godofredoc
2020-01-21 12:59:24 -08:00
committed by GitHub
parent efdbe0e48c
commit adaf7f9e7c

View File

@ -84,8 +84,8 @@ class DevFinder {
/// default value is false.
Future<String> getTargetAddress(
String deviceName, {
int numTries = 60,
int sleepDelay = 2,
int numTries = 75,
int sleepDelay = 4,
bool nullOk = false,
}) {
return _runDevFinderWithRetries(