mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
revert: timeout (#19639)
This commit is contained in:
parent
93f9e118ad
commit
bb8755021d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue