@@ -348,7 +348,6 @@ class EventReceiver(ConsumerMixin):
adjust_timestamp=adjust_timestamp,
CLIENT_CLOCK_SKEW=CLIENT_CLOCK_SKEW):
type = body['type']
- is_client_event = type == 'task-sent'
if type == 'task-sent':
# clients never sync so cannot use their clock value
_c = body['clock'] = (self.clock.value or 1) + CLIENT_CLOCK_SKEW
@@ -9,7 +9,6 @@
"""
from __future__ import absolute_import
-from celery.five import values
from celery.utils.sysinfo import load_average
from .state import SOFTWARE_INFO, active_requests, all_total_count