-
Notifications
You must be signed in to change notification settings - Fork 2
/
schema.json
70 lines (70 loc) · 2.59 KB
/
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
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
{
"$id": "https://raw.githubusercontent.com/roadrunner-server/beanstalk/refs/heads/master/schema.json",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "roadrunner-beanstalk",
"description": "The schema contains all the valid configuration parameters for the Beanstalk plugin for the roadrunner job system.",
"definitions": {
"pipeline": {
"type": "object",
"required": [
"driver"
],
"additionalProperties": false,
"properties": {
"driver": {
"type": "string",
"enum": [
"beanstalk"
]
},
"config": {
"type": "object",
"description": "Configuration options for the Beanstalk pipeline.",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "https://raw.githubusercontent.com/roadrunner-server/jobs/refs/heads/master/schema.json#/definitions/PipelineProperties/priority"
},
"prefetch": {
"$ref": "https://raw.githubusercontent.com/roadrunner-server/jobs/refs/heads/master/schema.json#/definitions/PipelineProperties/prefetch"
},
"tube_priority": {
"description": "Beanstalk internal tube priority",
"type": "integer",
"default": 1
},
"tube": {
"description": "Tube name",
"type": "string",
"default": "default"
},
"reserve_timeout": {
"description": "If no job is available before this timeout has passed, Reserve returns a ConnError recording ErrTimeout",
"$ref": "https://raw.githubusercontent.com/roadrunner-server/roadrunner/refs/heads/master/schemas/config/3.0.schema.json#/definitions/Duration",
"default": "5s"
}
}
}
}
},
"driver": {
"type": "object",
"additionalProperties": false,
"description": "Configuration options for the Beanstalk driver.",
"properties": {
"addr": {
"title": "Beanstalk Server Address",
"description": "The address of the Beanstalk server.",
"type": "string",
"default": "tcp://127.0.0.1:11300"
},
"timeout": {
"title": "Connection Timeout",
"description": "Connection timeout for the Beanstalk server.",
"$ref": "https://raw.githubusercontent.com/roadrunner-server/roadrunner/refs/heads/master/schemas/config/3.0.schema.json#/definitions/Duration",
"default": "30s"
}
}
}
}
}