Add More Task States
This commit is contained in:
parent
86ba486f47
commit
799082bb89
1 changed files with 8 additions and 2 deletions
|
@ -11,16 +11,22 @@ const INDEX_TEMPLATE_NAME = "index.tmpl"
|
||||||
const LIBRARIES_TEMPLATE_NAME = "libraries.tmpl"
|
const LIBRARIES_TEMPLATE_NAME = "libraries.tmpl"
|
||||||
const LIBRARY_TEMPLATE_NAME = "library.tmpl"
|
const LIBRARY_TEMPLATE_NAME = "library.tmpl"
|
||||||
const MESSAGE_TEMPLATE_NAME = "message.tmpl"
|
const MESSAGE_TEMPLATE_NAME = "message.tmpl"
|
||||||
const TASK_TEMPLATE_NAME = "tasks.tmpl"
|
const TASKS_TEMPLATE_NAME = "tasks.tmpl"
|
||||||
|
const TASK_TEMPLATE_NAME = "task.tmpl"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
TASK_TYPE_HEALTHCHECK = iota
|
TASK_TYPE_HEALTHCHECK = iota
|
||||||
TASK_TYPE_TRANSCODE
|
TASK_TYPE_TRANSCODE
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Non Append Changes Need Worker Version Bump
|
||||||
const (
|
const (
|
||||||
TASK_STATUS_UNKNOWN = iota
|
TASK_STATUS_UNKNOWN = iota
|
||||||
TASK_STATUS_RUNNING
|
|
||||||
TASK_STATUS_FAILED
|
TASK_STATUS_FAILED
|
||||||
TASK_STATUS_SUCCESS
|
TASK_STATUS_SUCCESS
|
||||||
|
TASK_STATUS_RUNNING
|
||||||
|
TASK_STATUS_QUEUED
|
||||||
|
TASK_STATUS_ASSIGNED
|
||||||
|
TASK_STATUS_PAUSED
|
||||||
|
TASK_STATUS_WAITING
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue