From eb8c97a417634154fad43a51726bcc9ccd54adc2 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Tue, 25 Jul 2023 10:32:28 +0100 Subject: [PATCH] Document new sshkit settings --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 5977f50b..4174ba2c 100644 --- a/README.md +++ b/README.md @@ -990,6 +990,20 @@ That'll post a line like the following to a preconfigured chatbot in Basecamp: Set `--skip_hooks` to avoid running the hooks. +## SSH connection management + +Creating SSH connections concurrently can be an issue when deploying to many servers. By default MRSK will limit concurrent connection starts to 30 at a time. + +It also sets a long idle timeout of 900 seconds on connections to prevent re-connection storms after a long idle period, like building an image or waiting for CI. + +You can configure both of these settings: + +```yaml +sshkit: + max_concurrent_starts: 10 + pool_idle_timeout: 300 +``` + ## Stage of development This is beta software. Commands may still move around. But we're live in production at [37signals](https://37signals.com).