mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Increase Hotspot Connection timeout from 10s to 18s.
PiperOrigin-RevId: 752904366
This commit is contained in:
@@ -29,8 +29,9 @@
|
||||
#if TARGET_OS_IOS
|
||||
// The maximum number of retries for connecting to the Hotspot.
|
||||
static const UInt8 kMaxRetryCount = 3;
|
||||
// Timeout after 10s for connection attempt
|
||||
static const UInt8 kConnectionTimeoutInSeconds = 10;
|
||||
// Timeout after 18s for connection attempt. From the stability test, connection take between 8-14s
|
||||
// on iOS
|
||||
static const UInt8 kConnectionTimeoutInSeconds = 18;
|
||||
#endif // TARGET_OS_IOS
|
||||
|
||||
// An arbitrary timeout that should be pretty lenient.
|
||||
|
||||
Reference in New Issue
Block a user