From 011993b4d3b1d64a2180b3cbf03ed5578cb04931 Mon Sep 17 00:00:00 2001 From: hai007 Date: Tue, 29 Apr 2025 15:25:50 -0700 Subject: [PATCH] Increase Hotspot Connection timeout from 10s to 18s. PiperOrigin-RevId: 752904366 --- .../implementation/apple/Mediums/Hotspot/GNCHotspotMedium.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/platform/implementation/apple/Mediums/Hotspot/GNCHotspotMedium.m b/internal/platform/implementation/apple/Mediums/Hotspot/GNCHotspotMedium.m index b8aa63bb..3adf8cda 100644 --- a/internal/platform/implementation/apple/Mediums/Hotspot/GNCHotspotMedium.m +++ b/internal/platform/implementation/apple/Mediums/Hotspot/GNCHotspotMedium.m @@ -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.