Ask Solem 12 éve
szülő
commit
eafc9ef926

+ 2 - 2
Changelog

@@ -123,8 +123,8 @@ If you're looking for versions prior to 3.0.x you should go to :ref:`history`.
 - Multiprocessing logger is now configured with loglevel ``ERROR``
   by default.
 
-    You can still set the :envvar:`MP_LOG` environment variable
-    to set it to value of the `--loglevel` argument.
+    Since 3.0 the multiprocessing loggers were disabled by default
+    (only configured when the :envvar:`MP_LOG` environment variable was set).
 
 .. _version-3.0.13:
 

+ 1 - 1
celery/tests/backends/test_cache.py

@@ -82,7 +82,7 @@ class test_CacheBackend(Case):
             self.assertFalse(deps.join_native.called)
 
             tb.on_chord_part_return(task)
-            deps.join_native.assert_called_with(propagate=True)
+            deps.join_native.assert_called_with(propagate=False)
             deps.delete.assert_called_with()
 
         finally:

+ 1 - 1
celery/tests/backends/test_redis.py

@@ -172,7 +172,7 @@ class test_RedisBackend(Case):
 
             b.client.incr.return_value = len(deps)
             b.on_chord_part_return(task)
-            deps.join_native.assert_called_with(propagate=True)
+            deps.join_native.assert_called_with(propagate=False)
             deps.delete.assert_called_with()
 
             self.assertTrue(b.client.expire.call_count)