diff options
Diffstat (limited to 'state.go')
-rw-r--r-- | state.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -26,6 +26,9 @@ const ( // StateWorking - working on given payload. StateWorking + // StateDisabled - indicates that worker is being disabled and will be removed. + StateDisabled + // StateStopping - process is being softly stopped. StateStopping @@ -54,6 +57,8 @@ func (s *state) String() string { return "ready" case StateWorking: return "working" + case StateDisabled: + return "disabled" case StateStopped: return "stopped" case StateErrored: |