-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_schema.json
More file actions
93 lines (93 loc) · 3 KB
/
config_schema.json
File metadata and controls
93 lines (93 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"additionalProperties": false,
"description": "Modifies the original Settings class provided by the user",
"properties": {
"client_exponential_backoff_max": {
"default": 60,
"description": "Maximum number of seconds to wait between retries when using exponential backoff retry strategies. The client timeout might need to be adjusted accordingly.",
"minimum": 0,
"title": "Client Exponential Backoff Max",
"type": "integer"
},
"client_num_retries": {
"default": 3,
"description": "Number of times to retry failed API calls.",
"minimum": 0,
"title": "Client Num Retries",
"type": "integer"
},
"client_retry_status_codes": {
"default": [
408,
429,
500,
502,
503,
504
],
"description": "List of status codes that should trigger retrying a request.",
"items": {
"minimum": 0,
"type": "integer"
},
"title": "Client Retry Status Codes",
"type": "array"
},
"client_reraise_from_retry_error": {
"default": true,
"description": "Specifies if the exception wrapped in the final RetryError is reraised or the RetryError is returned as is.",
"title": "Client Reraise From Retry Error",
"type": "boolean"
},
"per_request_jitter": {
"default": 0.0,
"description": "Max amount of jitter (in seconds) to add to each request.",
"minimum": 0,
"title": "Per Request Jitter",
"type": "number"
},
"retry_after_applicable_for_num_requests": {
"default": 1,
"description": "Amount of requests after which the stored delay from a 429 response is ignored again. Can be useful to adjust if concurrent requests are fired in quick succession.",
"exclusiveMinimum": 0,
"title": "Retry After Applicable For Num Requests",
"type": "integer"
},
"max_concurrent_downloads": {
"default": 5,
"description": "Number of parallel download tasks for file parts.",
"exclusiveMinimum": 0,
"title": "Max Concurrent Downloads",
"type": "integer"
},
"max_concurrent_uploads": {
"default": 5,
"description": "Number of parallel upload tasks for file parts.",
"exclusiveMinimum": 0,
"title": "Max Concurrent Uploads",
"type": "integer"
},
"max_wait_time": {
"default": 3600,
"description": "Maximum time in seconds to wait before quitting without a download.",
"exclusiveMinimum": 0,
"title": "Max Wait Time",
"type": "integer"
},
"part_size": {
"default": 67108864,
"description": "The part size to use for download.",
"exclusiveMinimum": 0,
"title": "Part Size",
"type": "integer"
},
"wkvs_api_url": {
"default": "https://data.ghga.de/.well-known",
"description": "URL to the root of the WKVS API. Should start with https://",
"title": "Wkvs Api Url",
"type": "string"
}
},
"title": "ModSettings",
"type": "object"
}