From 8793c104ee35647233cc308f43ed56dda9e16f92 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 9 Aug 2018 18:22:42 +0200 Subject: [PATCH] Increase "adb forward" connection attempts 5 seconds might not be sufficient: Increase to 10 seconds (it does not harm). --- app/src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/server.c b/app/src/server.c index 53ca1b40..39a5fbc2 100644 --- a/app/src/server.c +++ b/app/src/server.c @@ -207,7 +207,7 @@ socket_t server_connect_to(struct server *server) { if (!server->tunnel_forward) { server->device_socket = net_accept(server->server_socket); } else { - Uint32 attempts = 50; + Uint32 attempts = 100; Uint32 delay = 100; // ms server->device_socket = connect_to_server(server->local_port, attempts, delay); }