summaryrefslogtreecommitdiff
path: root/pkg/state/job/state.go
blob: d90118c3f5e3a100f66bda4bcd7806a73cd2340e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}