Skip to content

Commit 2f7a2c7

Browse files
ref: add read_timeout and connect_timeout config options (remote add) (#4223)
* remote modify: remove duplicate config options for s3 * remote modify: add timeout config options for http remote Related: iterative/dvc#8722 * Update content/docs/command-reference/remote/modify.md * Update content/docs/command-reference/remote/modify.md * Revert "Update content/docs/command-reference/remote/modify.md" This reverts commit 5cd4c2b. Co-authored-by: Jorge Orpinel <[email protected]>
1 parent 9807ac5 commit 2f7a2c7

File tree

1 file changed

+16
-16
lines changed
  • content/docs/command-reference/remote

1 file changed

+16
-16
lines changed

content/docs/command-reference/remote/modify.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -135,22 +135,6 @@ options:
135135
$ dvc remote modify myremote connect_timeout 300
136136
```
137137

138-
- `read_timeout` - set the time in seconds till a timeout exception is thrown
139-
when attempting to read from a connection (60 by default). Let's set it to 5
140-
minutes for example:
141-
142-
```cli
143-
$ dvc remote modify myremote read_timeout 300
144-
```
145-
146-
- `connect_timeout` - set the time in seconds till a timeout exception is thrown
147-
when attempting to make a connection (60 by default). Let's set it to 5
148-
minutes for example:
149-
150-
```cli
151-
$ dvc remote modify myremote connect_timeout 300
152-
```
153-
154138
By default, DVC authenticates using your AWS CLI
155139
[configuration](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)
156140
(if set). This uses the default AWS credentials file. Use the following
@@ -1162,6 +1146,22 @@ by HDFS. Read more about by expanding the WebHDFS section in
11621146
$ dvc remote modify myremote ssl_verify path/to/ca_bundle.pem
11631147
```
11641148

1149+
- `read_timeout` - set the time in seconds till a timeout exception is thrown
1150+
when attempting to read a portion of data from a connection (60 by default).
1151+
Let's set it to 5 minutes for example:
1152+
1153+
```cli
1154+
$ dvc remote modify myremote read_timeout 300
1155+
```
1156+
1157+
- `connect_timeout` - set the time in seconds till a timeout exception is thrown
1158+
when attempting to make a connection (60 by default). Let's set it to 5
1159+
minutes for example:
1160+
1161+
```cli
1162+
$ dvc remote modify myremote connect_timeout 300
1163+
```
1164+
11651165
</details>
11661166

11671167
<details>

0 commit comments

Comments
 (0)