Skip to content

Commit 21a906b

Browse files
authored
Fix inspect_command documentation (celery#5983)
1 parent 6ccdc7b commit 21a906b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/userguide/workers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ for example one that reads the current prefetch count:
11571157
11581158
from celery.worker.control import inspect_command
11591159
1160-
@inspect_command
1160+
@inspect_command()
11611161
def current_prefetch_count(state):
11621162
return {'prefetch_count': state.consumer.qos.value}
11631163

0 commit comments

Comments
 (0)