Skip to content

Commit

Permalink
increase connection timeout to 500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
mwarning committed Nov 5, 2019
1 parent 5b1f99a commit 0971877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/d/d/meshenger/Contact.java
Expand Up @@ -137,7 +137,7 @@ private static Socket establishConnection(InetSocketAddress address, int timeout
*/
public Socket createSocket() {
Socket socket = null;
int connectionTimeout = 300;
int connectionTimeout = 500;

// try last successful address first
if (this.last_working_address != null) {
Expand Down

0 comments on commit 0971877

Please sign in to comment.