Skip to content

Commit

Permalink
fix manager stats in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Jul 23, 2013
1 parent d7ee09c commit 4dbfd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kuyruk/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def warm_shutdown(self, sigint=False):

def get_stats(self):
"""Generate stats to be sent to manager."""
method = self.queue.declare().method
method = self.queue.declare(force=True).method
try:
current_task = self.current_task.name
except AttributeError:
Expand Down

0 comments on commit 4dbfd51

Please sign in to comment.