Ask Solem 11 years ago
parent
commit
a42fa2574e
2 changed files with 0 additions and 2 deletions
  1. 0 1
      celery/events/__init__.py
  2. 0 1
      celery/worker/heartbeat.py

+ 0 - 1
celery/events/__init__.py

@@ -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

+ 0 - 1
celery/worker/heartbeat.py

@@ -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