Skip to content

Commit b35327d

Browse files
committed
make installer ssh keepalive much longer, to reduce chance of unnecessary failures
1 parent d0969ba commit b35327d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cloud/install/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const MAX_CONNECTION_INTERVAL_MS = 10000;
3434
// in case the server is destroyed during installation, e.g.
3535
// when the user cancels install.
3636
const KEEPALIVE_INTERVAL_MS = 1000;
37-
const KEEPALIVE_MAX_FAILURES = 5;
37+
const KEEPALIVE_MAX_FAILURES = 120;
3838

3939
// Installs uProxy on a server, via SSH.
4040
// The process is as close as possible to a manual install

0 commit comments

Comments
 (0)