Skip to content

High performance self-hosted photo and video management solution.

revert: timeout (#19639)

Daimoleanbb8755021da7
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 (_) {