Explorar o código

Merge branch 'ionelmc/extra-stress-template'

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

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

@@ -102,3 +102,13 @@ class confirms(default):
 class events(default):
     CELERY_SEND_EVENTS = True
     CELERY_SEND_TASK_SENT_EVENT = True
+
+
+@template()
+class smallcache(default):
+    CELERY_MAX_CACHED_RESULTS = 10
+
+
+@template()
+class execv(default):
+    CELERYD_FORCE_EXECV = True