diff options
Diffstat (limited to '')
| -rw-r--r-- | src/bin/client/connection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/client/connection.rs b/src/bin/client/connection.rs index ec5642c..7516836 100644 --- a/src/bin/client/connection.rs +++ b/src/bin/client/connection.rs | |||
| @@ -49,7 +49,7 @@ pub fn connect( | |||
| 49 | Ok(Ok((tls, fp))) => (tls, fp), | 49 | Ok(Ok((tls, fp))) => (tls, fp), |
| 50 | Ok(Err(e)) => return Err(Box::new(TrustError(format!("{e}")))), | 50 | Ok(Err(e)) => return Err(Box::new(TrustError(format!("{e}")))), |
| 51 | Err(mpsc::RecvTimeoutError::Timeout) => { | 51 | Err(mpsc::RecvTimeoutError::Timeout) => { |
| 52 | return Err("Connection timed out after 3 seconds".into()); | 52 | return Err("Connection timed out after 10 seconds".into()); |
| 53 | } | 53 | } |
| 54 | Err(_) => return Err("Connection attempt failed".into()), | 54 | Err(_) => return Err("Connection attempt failed".into()), |
| 55 | }; | 55 | }; |
