浏览代码

method rename from cleanup_process -> process_cleanup

Vitaly Babiy 16 年之前
父节点
当前提交
32bb0ff632
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()
 
     # Backend process cleanup
-    default_backend.cleanup_process()
+    default_backend.process_cleanup()
 
     # Convert any unicode keys in the keyword arguments to ascii.
     kwargs = dict([(k.encode("utf-8"), v)