mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Fix JSON name of process timeout
This commit is contained in:
@@ -3371,6 +3371,10 @@ const docTemplate = `{
|
||||
"reference": {
|
||||
"type": "string"
|
||||
},
|
||||
"runtime_duration_seconds": {
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
},
|
||||
"scheduler": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3378,10 +3382,6 @@ const docTemplate = `{
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
},
|
||||
"timeout_seconds": {
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
|
@@ -3364,6 +3364,10 @@
|
||||
"reference": {
|
||||
"type": "string"
|
||||
},
|
||||
"runtime_duration_seconds": {
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
},
|
||||
"scheduler": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3371,10 +3375,6 @@
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
},
|
||||
"timeout_seconds": {
|
||||
"type": "integer",
|
||||
"format": "uint64"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
|
@@ -746,14 +746,14 @@ definitions:
|
||||
type: integer
|
||||
reference:
|
||||
type: string
|
||||
runtime_duration_seconds:
|
||||
format: uint64
|
||||
type: integer
|
||||
scheduler:
|
||||
type: string
|
||||
stale_timeout_seconds:
|
||||
format: uint64
|
||||
type: integer
|
||||
timeout_seconds:
|
||||
format: uint64
|
||||
type: integer
|
||||
type:
|
||||
enum:
|
||||
- ffmpeg
|
||||
|
@@ -52,7 +52,7 @@ type ProcessConfig struct {
|
||||
ReconnectDelay uint64 `json:"reconnect_delay_seconds" format:"uint64"`
|
||||
Autostart bool `json:"autostart"`
|
||||
StaleTimeout uint64 `json:"stale_timeout_seconds" format:"uint64"`
|
||||
Timeout uint64 `json:"timeout_seconds" format:"uint64"`
|
||||
Timeout uint64 `json:"runtime_duration_seconds" format:"uint64"`
|
||||
Scheduler string `json:"scheduler"`
|
||||
Limits ProcessConfigLimits `json:"limits"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user