diff --git a/docs/docs.go b/docs/docs.go index 24a5cd36..eb4abc86 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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": [ diff --git a/docs/swagger.json b/docs/swagger.json index 74150432..162aa986 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -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": [ diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 4f8f9b00..58533d17 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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 diff --git a/http/api/process.go b/http/api/process.go index f0d25c2c..391b968a 100644 --- a/http/api/process.go +++ b/http/api/process.go @@ -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"` }