mirror of
https://github.com/immich-app/immich.git
synced 2025-12-16 17:23:16 +03:00
revert: timeout (#19639)
This commit is contained in:
@@ -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 (_) {
|
||||
|
||||
Reference in New Issue
Block a user