Ask Solem 13 tahun lalu
induk
melakukan
5951d46db3
1 mengubah file dengan 2 tambahan dan 4 penghapusan
  1. 2 4
      celery/execute/trace.py

+ 2 - 4
celery/execute/trace.py

@@ -13,12 +13,10 @@
 from __future__ import absolute_import
 from __future__ import absolute_import
 
 
 # ## ---
 # ## ---
-# BE WARNED: You are probably going to suffer a heartattack just
-#            by looking at this code!
-#
 # This is the heart of the worker, the inner loop so to speak.
 # This is the heart of the worker, the inner loop so to speak.
 # It used to be split up into nice little classes and methods,
 # It used to be split up into nice little classes and methods,
-# but in the end it only resulted in bad performance, and horrible tracebacks.
+# but in the end it only resulted in bad performance and horrible tracebacks,
+# so instead we now use one closure per task class.
 
 
 import os
 import os
 import socket
 import socket