summaryrefslogtreecommitdiff
path: root/pkg/worker/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/worker/state.go')
-rwxr-xr-xpkg/worker/state.go3
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