summaryrefslogtreecommitdiff
path: root/pkg/state/job/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/state/job/state.go')
-rw-r--r--pkg/state/job/state.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/pkg/state/job/state.go b/pkg/state/job/state.go
deleted file mode 100644
index 56050084..00000000
--- a/pkg/state/job/state.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package job
-
-// State represents job's state
-type State struct {
- // Pipeline name
- Pipeline string
- // Driver name
- Driver string
- // Queue name (tube for the beanstalk)
- Queue string
- // Active jobs which are consumed from the driver but not handled by the PHP worker yet
- Active int64
- // Delayed jobs
- Delayed int64
- // Reserved jobs which are in the driver but not consumed yet
- Reserved int64
- // Status - 1 Ready, 0 - Paused
- Ready bool
-}