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": {
|
"reference": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"runtime_duration_seconds": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "uint64"
|
||||||
|
},
|
||||||
"scheduler": {
|
"scheduler": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@@ -3378,10 +3382,6 @@ const docTemplate = `{
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "uint64"
|
"format": "uint64"
|
||||||
},
|
},
|
||||||
"timeout_seconds": {
|
|
||||||
"type": "integer",
|
|
||||||
"format": "uint64"
|
|
||||||
},
|
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
@@ -3364,6 +3364,10 @@
|
|||||||
"reference": {
|
"reference": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"runtime_duration_seconds": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "uint64"
|
||||||
|
},
|
||||||
"scheduler": {
|
"scheduler": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
@@ -3371,10 +3375,6 @@
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "uint64"
|
"format": "uint64"
|
||||||
},
|
},
|
||||||
"timeout_seconds": {
|
|
||||||
"type": "integer",
|
|
||||||
"format": "uint64"
|
|
||||||
},
|
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
@@ -746,14 +746,14 @@ definitions:
|
|||||||
type: integer
|
type: integer
|
||||||
reference:
|
reference:
|
||||||
type: string
|
type: string
|
||||||
|
runtime_duration_seconds:
|
||||||
|
format: uint64
|
||||||
|
type: integer
|
||||||
scheduler:
|
scheduler:
|
||||||
type: string
|
type: string
|
||||||
stale_timeout_seconds:
|
stale_timeout_seconds:
|
||||||
format: uint64
|
format: uint64
|
||||||
type: integer
|
type: integer
|
||||||
timeout_seconds:
|
|
||||||
format: uint64
|
|
||||||
type: integer
|
|
||||||
type:
|
type:
|
||||||
enum:
|
enum:
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
|
@@ -52,7 +52,7 @@ type ProcessConfig struct {
|
|||||||
ReconnectDelay uint64 `json:"reconnect_delay_seconds" format:"uint64"`
|
ReconnectDelay uint64 `json:"reconnect_delay_seconds" format:"uint64"`
|
||||||
Autostart bool `json:"autostart"`
|
Autostart bool `json:"autostart"`
|
||||||
StaleTimeout uint64 `json:"stale_timeout_seconds" format:"uint64"`
|
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"`
|
Scheduler string `json:"scheduler"`
|
||||||
Limits ProcessConfigLimits `json:"limits"`
|
Limits ProcessConfigLimits `json:"limits"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user