Explorar o código

Stresstests: Adds -Z events template

Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
d4976df3a7
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      funtests/stress/stress/templates.py

+ 6 - 0
funtests/stress/stress/templates.py

@@ -94,3 +94,9 @@ class pickle(default):
 class confirms(default):
     BROKER_URL = 'pyamqp://'
     BROKER_TRANSPORT_OPTIONS = {'confirm_publish': True}
+
+
+@template()
+class events(default):
+    CELERY_SEND_EVENTS = True
+    CELERY_SEND_TASK_SENT_EVENT = True