소스 검색

Merge branch 'ionelmc/extra-stress-template'

Ask Solem 11 년 전
부모
커밋
74e4d443ef
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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