mirror of
https://github.com/hibiken/asynq.git
synced 2025-08-24 14:48:40 +08:00
Add ProcessState type to base package
This commit is contained in:
@@ -73,7 +73,7 @@ func ps(cmd *cobra.Command, args []string) {
|
||||
printRows := func(w io.Writer, tmpl string) {
|
||||
for _, ps := range processes {
|
||||
fmt.Fprintf(w, tmpl,
|
||||
ps.Host, ps.PID, ps.State,
|
||||
ps.Host, ps.PID, ps.Status,
|
||||
fmt.Sprintf("%d/%d", ps.ActiveWorkerCount, ps.Concurrency),
|
||||
formatQueues(ps.Queues), timeAgo(ps.Started))
|
||||
}
|
||||
|
Reference in New Issue
Block a user