-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttp-background.schema.json
36 lines (36 loc) · 1.13 KB
/
http-background.schema.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"description": "http-background schema",
"additionalProperties": false,
"properties": {
"threads": {
"type": "array",
"uniqueItems": true,
"description": "http-background threads",
"items": {
"type": "object",
"required": [
"id"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"description": "Thread ID"
},
"max_total": {
"type": "number",
"description": "Maximum total concurrent requests",
"default": 1
},
"max_host": {
"type": "number",
"description": "Maximum total concurrent requests per host",
"default": 1
}
}
}
}
}
}