Sfoglia il codice sorgente

Rename cleanup_process -> process_cleanup

Ask Solem 16 anni fa
parent
commit
ac61ad04f1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      celery/backends/base.py

+ 1 - 1
celery/backends/base.py

@@ -175,7 +175,7 @@ class BaseBackend(object):
                 raise self.get_result(task_id)
             timeout_timer.tick()
 
-    def cleanup_process(self):
+    def process_cleanup(self):
         """Cleanup actions to do at the end of a task worker process.
 
         See :func:`celery.worker.jail`.