summaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorGuillaume Mazoyer <gmazoyer@gravitons.in>2016-08-24 21:27:26 +0200
committerGuillaume Mazoyer <gmazoyer@gravitons.in>2016-08-24 21:27:26 +0200
commitb125fa0ca129beaf819f10e7399c9878b47e905e (patch)
treee4eb5a7bb1babc6d02300f753aa3bc1265dfc0c0 /docs/configuration.md
parent027cd66297c0f56579db99d97d5fc3122ab4fe4b (diff)
Add configuration option to change connection timeout.
The timeout can be specified in seconds with the ['timeout'] array index within the router configuration. The default value is 30 seconds.
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 25f99b6..bb1a210 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -155,6 +155,11 @@ $config['routers']['router1']['disable_ipv4'] = false;
```
If set to true, disable the use of IPv4 for the router.
+```php
+$config['routers']['router1']['timeout'] = 30;
+```
+Used to set the timeout (in seconds) for the connection to the router. The
+default value is 30 seconds.
#### Telnet