Skip to content

Commit

Permalink
Fix the docs regarding S2S timeouts
Browse files Browse the repository at this point in the history
- They were in msec, not seconds
- The new default for DNS timeout is 10000
  • Loading branch information
chrzaszcz committed Jan 25, 2022
1 parent 4471333 commit ba73ca7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/configuration/s2s.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ Specifies the order of IP address families to try when establishing an outgoing
* **Default:** `10_000`
* **Example:** `outgoing.connection_timeout = 5000`

Timeout (in seconds) for establishing an outgoing S2S connection.
Timeout (in milliseconds) for establishing an outgoing S2S connection.

### `s2s.dns.timeout`
* **Scope:** local
* **Syntax:** positive integer
* **Default:** `10`
* **Example:** `dns.timeout = 30`
* **Default:** `10_000`
* **Example:** `dns.timeout = 3000`

Timeout (in seconds) for DNS lookups when opening an outgoing S2S connection.
Timeout (in milliseconds) for DNS lookups when opening an outgoing S2S connection.

### `s2s.dns.retries`
* **Scope:** local
Expand Down

0 comments on commit ba73ca7

Please sign in to comment.