Browse Source

Merge branch 'ionelmc/extra-stress-template'

Ask Solem 11 years ago
parent
commit
74e4d443ef
1 changed files with 10 additions and 0 deletions
  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