summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2023-09-18 08:39:19 +0100
committerGitHub <noreply@github.com>2023-09-18 08:39:19 +0100
commit351b3e8a57c9e0143b7b6f3ed2160dcdce00225e (patch)
treeb8d91a569daf2d819eea7a92e977458a3f3394a6 /docs
parentebef5cdaf018f2bb03682eb516412ce4151297aa (diff)
Add connect timeout and overall timeout (#1238)
* Add connect timeout and overall timeout * Make it configurable * Fix test * Add docs
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/config/config.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/docs/config/config.md b/docs/docs/config/config.md
index 5f54790c..e0403d2a 100644
--- a/docs/docs/config/config.md
+++ b/docs/docs/config/config.md
@@ -292,3 +292,16 @@ macOS does not have an <kbd>Alt</kbd> key, although terminal emulators can often
# Use Ctrl-0 .. Ctrl-9 instead of Alt-0 .. Alt-9 UI shortcuts
ctrl_n_shortcuts = true
```
+
+## network_timeout
+Default: 30
+
+The max amount of time (in seconds) to wait for a network request. If any
+operations with a sync server take longer than this, the code will fail -
+rather than wait indefinitely.
+
+## network_connect_timeout
+Default: 5
+
+The max time (in seconds) we wait for a connection to become established with a
+remote sync server. Any longer than this and the request will fail.