Просмотр исходного кода

Indent statement in docs function (#3910)

Michal Kuffa 8 лет назад
Родитель
Сommit
d3c00e17c8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/userguide/workers.rst

+ 1 - 1
docs/userguide/workers.rst

@@ -1159,7 +1159,7 @@ for example one that reads the current prefetch count:
 
     @inspect_command
     def current_prefetch_count(state):
-    return {'prefetch_count': state.consumer.qos.value}
+        return {'prefetch_count': state.consumer.qos.value}
 
 
 After restarting the worker you can now query this value using the