diff options
author | Valery Piashchynski <[email protected]> | 2021-03-28 14:00:54 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-03-28 14:00:54 +0300 |
commit | 2a58b1be2c79f2fe10c0a429878937661645a928 (patch) | |
tree | f3a7cd472c75c4dd2a97bcf97cb154731ed81230 /pkg/worker/state.go | |
parent | 970014530a23d57a3be41c6369ac6456d0b36ae1 (diff) |
- Fix bug with the worker reallocating during the response
- Update .golangci and fix new warnings
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/worker/state.go')
-rwxr-xr-x | pkg/worker/state.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/worker/state.go b/pkg/worker/state.go index 176e151b..502f8199 100755 --- a/pkg/worker/state.go +++ b/pkg/worker/state.go @@ -27,6 +27,9 @@ const ( // State of worker, when no need to allocate new one StateDestroyed + // State of worker, when it reached executions limit + StateMaxJobsReached + // StateStopped - process has been terminated. StateStopped |