Skip to content

Commit 25aa5d6

Browse files
committed
remote modify: add timeout config options for http remote
Related: iterative/dvc#8722
1 parent 04e320a commit 25aa5d6

File tree

1 file changed

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

1 file changed

+16
-0
lines changed

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

+16
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,22 @@ by HDFS. Read more about by expanding the WebHDFS section in
11461146
$ dvc remote modify myremote ssl_verify path/to/ca_bundle.pem
11471147
```
11481148

1149+
- `read_timeout` - set the time in seconds till a timeout exception is thrown
1150+
when attempting to read from a connection (60 by default). Let's set it to 5
1151+
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+
11491165
</details>
11501166

11511167
<details>

0 commit comments

Comments
 (0)