Skip to content

Commit

Permalink
feat(docs): document additional config parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoTechnicguy committed Dec 13, 2024
1 parent 1d24c72 commit 2d004c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions docs/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ blocking:
# optional: timeout for list download (each url). Use large values for big lists or slow internet connections
# default: 5s
timeout: 60s
# optional: timeout for reading request headers for the download (each url). Use large values for slow internet connections
# to disable, set to -1.
# default: 20s
readHeaderTimeout: 60s
# optional: Maximum download attempts
# default: 3
attempts: 5
Expand Down
11 changes: 6 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -884,11 +884,12 @@ A value of zero or less will disable this feature.

Configures how HTTP(S) sources are downloaded:

| Parameter | Type | Mandatory | Default value | Description |
| --------- | -------- | --------- | ------------- | ---------------------------------------------- |
| timeout | duration | no | 5s | Download attempt timeout |
| attempts | int | no | 3 | How many download attempts should be performed |
| cooldown | duration | no | 500ms | Time between the download attempts |
| Parameter | Type | Mandatory | Default value | Description |
| ----------------- | -------- | --------- | ------------- | ---------------------------------------------- |
| timeout | duration | no | 5s | Download attempt timeout |
| readHeaderTimeout | duration | no | 20s | Download request header read timeout |
| attempts | int | no | 3 | How many download attempts should be performed |
| cooldown | duration | no | 500ms | Time between the download attempts |

!!! example

Expand Down

0 comments on commit 2d004c3

Please sign in to comment.