We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321b14f commit a95f3bdCopy full SHA for a95f3bd
core/views.py
@@ -22,8 +22,8 @@ def get_context_data(self, **kwargs):
22
context['dynamic_form_cache_size'] = len(DynamicFeedbacForm.FORM_CACHE)
23
context['dynamic_form_cache_max'] = DynamicFeedbacForm.FORM_CACHE.max_size
24
25
- from celery.task.control import inspect
26
- i = inspect()
+ from jutut.celery import app
+ i = app.control.inspect()
27
context['celery_stats'] = celery_stats = {}
28
for group in ('active', 'scheduled', 'reserved'):
29
for host, items in (getattr(i, group)() or {}).items():
0 commit comments