Explorar o código

Testing: Set broker_heartbeat to 0

Ask Solem %!s(int64=8) %!d(string=hai) anos
pai
achega
1c2d9ab4dd
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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,
 }