diff options
author | Valery Piashchynski <[email protected]> | 2021-02-03 17:31:17 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-02-03 17:31:17 +0300 |
commit | 8eda5dc6f0f7e05d7b3d62e1861af05b49a2574a (patch) | |
tree | fae66ad49d2a4624a7caf45a5bf07d53e5c7d26f /pkg/states/worker_states.go | |
parent | 20a1a5d2eb26090e0eef0e6772330ee2a52526fa (diff) |
Fix memory leak in the Worker.go
Diffstat (limited to 'pkg/states/worker_states.go')
-rw-r--r-- | pkg/states/worker_states.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/states/worker_states.go b/pkg/states/worker_states.go index 22fdfe8a..fe653cb4 100644 --- a/pkg/states/worker_states.go +++ b/pkg/states/worker_states.go @@ -16,6 +16,7 @@ const ( // StateStopping - process is being softly stopped. StateStopping + // StateKilling - process is being forcibly stopped StateKilling // State of worker, when no need to allocate new one @@ -27,5 +28,6 @@ const ( // StateErrored - error WorkerState (can't be used). StateErrored + // StateRemove - worker is killed and removed from the stack StateRemove ) |