Browse Source

Merge branch 'ionelmc/extra-stress-template'

Ask Solem 11 năm trước cách đây
mục cha
commit
74e4d443ef
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  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