diff options
author | Wolfy-J <[email protected]> | 2018-06-05 23:17:14 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-05 23:17:14 +0300 |
commit | e594c7070aad609c4caeda760671aca00e638561 (patch) | |
tree | b7ecb76ceeba88e03635c238a67f237452c20524 /state.go | |
parent | 6adaf713b47c9a3ab3a516e21d2d4ecf7f2075d6 (diff) |
fixing controlled descruction
Diffstat (limited to 'state.go')
-rw-r--r-- | state.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |