Skip to content

Commit

Permalink
Fix inspect_command documentation (celery#5983)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr authored Feb 28, 2020
1 parent 6ccdc7b commit 21a906b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/userguide/workers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ for example one that reads the current prefetch count:
from celery.worker.control import inspect_command
@inspect_command
@inspect_command()
def current_prefetch_count(state):
return {'prefetch_count': state.consumer.qos.value}
Expand Down

0 comments on commit 21a906b

Please sign in to comment.