fix(agent-queue): status used undefined live_workers; call active_workers
This commit is contained in:
parent
2f6aea07e0
commit
27feba36fa
@ -422,7 +422,7 @@ cmd_status() {
|
||||
ensure_dirs
|
||||
local ib dg dn fl
|
||||
ib=$(_count "$INBOX"); dg=$(_count "$DOING"); dn=$(_count "$DONE"); fl=$(_count "$FAILED")
|
||||
local running; running=$(live_workers)
|
||||
local running; running=$(active_workers)
|
||||
echo
|
||||
printf '%s AGENT QUEUE %s %s\n' "$C_BOLD" "$C_DIM$QUEUE_ROOT$C_RESET" ""
|
||||
printf ' %sinbox%s %-3s %sdoing%s %-3s %sdone%s %-3s %sfailed%s %-3s %srunning%s %s/%s\n\n' \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user