Documentation ¶
Index ¶
- func Crons() (map[string]*cron.CronType, error)
- func DisabledCrons() (map[string]*cron.CronType, error)
- func Queues(short bool) (queueHash map[string]*QueueInfoType, err error)
- func RunningJobs(fast bool) (jobs []*task.Task, err error)
- func RunningWorkers() (workers []*heartbeat.HeartbeatType, err error)
- type QueueInfoType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Queues ¶ added in v1.2.0
func Queues(short bool) (queueHash map[string]*QueueInfoType, err error)
func RunningJobs ¶
SCAN takes about 0.5s per million total items in redis we skip it by guessing the possible working list names from worker heartbeat data this is much faster, but the prune functions still need the true list to find any zombie working lists
func RunningWorkers ¶
func RunningWorkers() (workers []*heartbeat.HeartbeatType, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.