Skip to content

Commit

Permalink
Document new sshkit settings
Browse files Browse the repository at this point in the history
  • Loading branch information
djmb committed Jul 25, 2023
1 parent 07ff061 commit 1525479
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,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).
Expand Down

0 comments on commit 1525479

Please sign in to comment.