Skip to content

Commit

Permalink
config:generate
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <[email protected]>
  • Loading branch information
golanglemonade committed Oct 8, 2024
1 parent db336f9 commit 7e4e26d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobQueue:
FetchPollInterval: 0
ID: ""
JobCleanerTimeout: 0
JobInsertMiddleware: null
JobTimeout: 0
Logger: null
MaxAttempts: 0
Expand All @@ -104,6 +105,7 @@ jobQueue:
RescueStuckJobsAfter: 0
RetryPolicy: null
TestOnly: false
WorkerMiddleware: null
Workers: null
runMigrations: false
ratelimit:
Expand Down
12 changes: 12 additions & 0 deletions jsonschema/api-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ OauthProviderConfig represents the configuration for OAuth providers such as Git
|**FetchPollInterval**|`integer`|||
|**ID**|`string`|||
|**JobCleanerTimeout**|`integer`|||
|[**JobInsertMiddleware**](#jobqueueriverconfjobinsertmiddleware)|`array`|||
|**JobTimeout**|`integer`|||
|[**Logger**](#jobqueueriverconflogger)|`object`|||
|**MaxAttempts**|`integer`|||
Expand All @@ -450,8 +451,14 @@ OauthProviderConfig represents the configuration for OAuth providers such as Git
|**RetryPolicy**||||
|**TestOnly**|`boolean`|||
|[**Workers**](#jobqueueriverconfworkers)|`object`|||
|[**WorkerMiddleware**](#jobqueueriverconfworkermiddleware)|`array`|||

**Additional Properties:** not allowed
<a name="jobqueueriverconfjobinsertmiddleware"></a>
#### jobQueue\.riverConf\.JobInsertMiddleware: array

**Items**

<a name="jobqueueriverconflogger"></a>
#### jobQueue\.riverConf\.Logger: object

Expand All @@ -477,6 +484,11 @@ OauthProviderConfig represents the configuration for OAuth providers such as Git
**No properties.**

**Additional Properties:** not allowed
<a name="jobqueueriverconfworkermiddleware"></a>
#### jobQueue\.riverConf\.WorkerMiddleware: array

**Items**

<a name="redis"></a>
## redis: object

Expand Down
14 changes: 14 additions & 0 deletions jsonschema/core.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
},
"type": "array"
},
"[]rivertype.JobInsertMiddleware": {
"items": true,
"type": "array"
},
"[]rivertype.WorkerMiddleware": {
"items": true,
"type": "array"
},
"[]string": {
"items": {
"type": "string"
Expand Down Expand Up @@ -678,6 +686,9 @@
"JobCleanerTimeout": {
"type": "integer"
},
"JobInsertMiddleware": {
"$ref": "#/$defs/[]rivertype.JobInsertMiddleware"
},
"JobTimeout": {
"type": "integer"
},
Expand Down Expand Up @@ -706,6 +717,9 @@
},
"Workers": {
"$ref": "#/$defs/river.Workers"
},
"WorkerMiddleware": {
"$ref": "#/$defs/[]rivertype.WorkerMiddleware"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 7e4e26d

Please sign in to comment.