Explorar o código

method rename from cleanup_process -> process_cleanup

Vitaly Babiy %!s(int64=16) %!d(string=hai) anos
pai
achega
32bb0ff632
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/worker.py

+ 1 - 1
celery/worker.py

@@ -78,7 +78,7 @@ def jail(task_id, func, args, kwargs):
         cache.cache.close()
         cache.cache.close()
 
 
     # Backend process cleanup
     # Backend process cleanup
-    default_backend.cleanup_process()
+    default_backend.process_cleanup()
 
 
     # Convert any unicode keys in the keyword arguments to ascii.
     # Convert any unicode keys in the keyword arguments to ascii.
     kwargs = dict([(k.encode("utf-8"), v)
     kwargs = dict([(k.encode("utf-8"), v)