From bb8755021da75731b5dad7e4bfc9046f519bd2a9 Mon Sep 17 00:00:00 2001 From: Daimolean <92239625+wuzihao051119@users.noreply.github.com> Date: Tue, 1 Jul 2025 06:02:50 +0800 Subject: [PATCH] revert: timeout (#19639) --- mobile/lib/services/api.service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/services/api.service.dart b/mobile/lib/services/api.service.dart index 65da247eac..fe007a2aab 100644 --- a/mobile/lib/services/api.service.dart +++ b/mobile/lib/services/api.service.dart @@ -121,7 +121,7 @@ class ApiService implements Authentication { try { await setEndpoint(serverUrl); - await serverInfoApi.pingServer().timeout(const Duration(seconds: 60)); + await serverInfoApi.pingServer().timeout(const Duration(seconds: 5)); } on TimeoutException catch (_) { return false; } on SocketException catch (_) {