mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
revert: timeout (#19639)
This commit is contained in:
parent
93f9e118ad
commit
bb8755021d
@ -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 (_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user