From b35327d5f4eb0eccbb3d0606fc04a3346ace7c92 Mon Sep 17 00:00:00 2001 From: Trevor Johnston Date: Mon, 16 May 2016 14:44:04 -0400 Subject: [PATCH] make installer ssh keepalive much longer, to reduce chance of unnecessary failures --- src/cloud/install/installer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloud/install/installer.ts b/src/cloud/install/installer.ts index 4476239..cbf2c73 100644 --- a/src/cloud/install/installer.ts +++ b/src/cloud/install/installer.ts @@ -34,7 +34,7 @@ const MAX_CONNECTION_INTERVAL_MS = 10000; // in case the server is destroyed during installation, e.g. // when the user cancels install. const KEEPALIVE_INTERVAL_MS = 1000; -const KEEPALIVE_MAX_FAILURES = 5; +const KEEPALIVE_MAX_FAILURES = 120; // Installs uProxy on a server, via SSH. // The process is as close as possible to a manual install