summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-05 23:17:14 +0300
committerWolfy-J <[email protected]>2018-06-05 23:17:14 +0300
commite594c7070aad609c4caeda760671aca00e638561 (patch)
treeb7ecb76ceeba88e03635c238a67f237452c20524 /state.go
parent6adaf713b47c9a3ab3a516e21d2d4ecf7f2075d6 (diff)
fixing controlled descruction
Diffstat (limited to 'state.go')
-rw-r--r--state.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/state.go b/state.go
index 6c27c4c1..7bd5437d 100644
--- a/state.go
+++ b/state.go
@@ -24,14 +24,13 @@ type State interface {
const (
// StateInactive - no associated process
StateInactive int64 = iota
+
// StateReady - ready for job.
StateReady
+
// StateWorking - working on given payload.
StateWorking
- // StateDestructing process is being destructed.
- StateDestructing
-
// StateStopping - process is being softly stopped.
StateStopping