Skip to content

Commit

Permalink
Display PIDs of workers that we are waiting for
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenhearsay authored and ask committed Dec 19, 2012
1 parent 10bb5a6 commit 5ca3e45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions celery/bin/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,9 @@ def on_down(node):
def note_waiting():
left = len(P)
if left:
self.note(self.colored.blue('> Waiting for {0} {1}...'.format(
left, pluralize(left, 'node'))), newline=False)
pids = ', '.join(str(pid) for _, _, pid in P)
self.note(self.colored.blue('> Waiting for {0} {1} -> {2}...'.format(
left, pluralize(left, 'node'), pids)), newline=False)

if retry:
note_waiting()
Expand Down

0 comments on commit 5ca3e45

Please sign in to comment.