From 2a58b1be2c79f2fe10c0a429878937661645a928 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 28 Mar 2021 14:00:54 +0300 Subject: - Fix bug with the worker reallocating during the response - Update .golangci and fix new warnings Signed-off-by: Valery Piashchynski --- pkg/worker/state.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/worker/state.go') 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 -- cgit v1.2.3