Browse Source

Remove left-over print statements

Ask Solem 14 years ago
parent
commit
a0c6c7094f
2 changed files with 0 additions and 8 deletions
  1. 0 3
      celery/apps/worker.py
  2. 0 5
      celery/worker/__init__.py

+ 0 - 3
celery/apps/worker.py

@@ -295,7 +295,6 @@ def install_worker_int_again_handler(worker):
         if multiprocessing:
             process_name = multiprocessing.current_process().name
         if not process_name or process_name == "MainProcess":
-            print("TERMINATING")
             worker.logger.warn("celeryd: Cold shutdown (%s)" % (
                 process_name))
             worker.terminate(in_sighandler=True)
@@ -310,9 +309,7 @@ def install_worker_term_handler(worker):
         process_name = None
         if multiprocessing:
             process_name = multiprocessing.current_process().name
-        print("SHOULD STOP? %r" % (process_name, ))
         if not process_name or process_name == "MainProcess":
-            print("STOPPING")
             worker.logger.warn("celeryd: Warm shutdown (%s)" % (
                 process_name))
             worker.stop(in_sighandler=True)

+ 0 - 5
celery/worker/__init__.py

@@ -151,11 +151,6 @@ class WorkController(object):
         self.db = db or conf.CELERYD_STATE_DB
         self.disable_rate_limits = disable_rate_limits or \
                                 conf.CELERY_DISABLE_RATE_LIMITS
-
-        # FIXME
-        # For some reason disable rate limits does not work currently,
-        # needs to be fixed for v2.2.0.
-        self.disable_rate_limits = False
         self.queues = queues
 
         self._finalize = Finalize(self, self.stop, exitpriority=1)