mirror of
https://github.com/datarhei/core.git
synced 2025-10-04 15:42:57 +08:00
Add config value for how many minimal process report should be kept in the history
A minimal history is a history entry without log and prelude. The corresponding config entry is ffmpeg.log.max_minimal_history. This value is added on top of the ffmpeg.log.max_history value. I.e. the latest max_history entries contain the log and prelude, and the remaining entries don't have the log and prelude. In total there are max_minimal_history+max_history history entries. If you want no history, set both values to 0. If you want only full history, set max_minimal_history to 0. If you want only minimal history, set max_history to 0.
This commit is contained in:
49
docs/docs.go
49
docs/docs.go
@@ -1729,7 +1729,7 @@ const docTemplate = `{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Get the log history entry of a process at a certain time.",
|
||||
"description": "Get the log history entry of a process that finished at a certain time.",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -1860,13 +1860,13 @@ const docTemplate = `{
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "Search range of when the report has been created, older than this value. Unix timestamp, leave empty for any",
|
||||
"description": "Search range of when the report has been exited, older than this value. Unix timestamp, leave empty for any",
|
||||
"name": "from",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "Search range of when the report has been created, younger than this value. Unix timestamp, leave empty for any",
|
||||
"description": "Search range of when the report has been exited, younger than this value. Unix timestamp, leave empty for any",
|
||||
"name": "to",
|
||||
"in": "query"
|
||||
}
|
||||
@@ -2449,6 +2449,10 @@ const docTemplate = `{
|
||||
"max_lines": {
|
||||
"type": "integer",
|
||||
"format": "int"
|
||||
},
|
||||
"max_minimal_history": {
|
||||
"type": "integer",
|
||||
"format": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3394,6 +3398,10 @@ const docTemplate = `{
|
||||
"exit_state": {
|
||||
"type": "string"
|
||||
},
|
||||
"exited_at": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"log": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -3424,6 +3432,10 @@ const docTemplate = `{
|
||||
"exit_state": {
|
||||
"type": "string"
|
||||
},
|
||||
"exited_at": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4276,6 +4288,10 @@ const docTemplate = `{
|
||||
"max_lines": {
|
||||
"type": "integer",
|
||||
"format": "int"
|
||||
},
|
||||
"max_minimal_history": {
|
||||
"type": "integer",
|
||||
"format": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4935,18 +4951,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"auth": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
"$ref": "#/definitions/value.S3StorageAuth"
|
||||
},
|
||||
"bucket": {
|
||||
"type": "string"
|
||||
@@ -4970,6 +4975,20 @@ const docTemplate = `{
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"value.S3StorageAuth": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"securityDefinitions": {
|
||||
|
Reference in New Issue
Block a user