Pārlūkot izejas kodu

Testing: Set broker_heartbeat to 0

Ask Solem 8 gadi atpakaļ
vecāks
revīzija
1c2d9ab4dd
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      celery/contrib/testing/app.py

+ 2 - 1
celery/contrib/testing/app.py

@@ -15,7 +15,8 @@ DEFAULT_TEST_CONFIG = {
     'enable_utc': True,
     'timezone': 'UTC',
     'broker_url': 'memory://',
-    'result_backend': 'cache+memory://'
+    'result_backend': 'cache+memory://',
+    'broker_heartbeat': 0,
 }