浏览代码

Add an execv template for stress tests.

Ionel Cristian Mărieș 11 年之前
父节点
当前提交
dca18a3018
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      funtests/stress/stress/templates.py

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

@@ -103,6 +103,12 @@ class events(default):
     CELERY_SEND_EVENTS = True
     CELERY_SEND_EVENTS = True
     CELERY_SEND_TASK_SENT_EVENT = True
     CELERY_SEND_TASK_SENT_EVENT = True
 
 
+
 @template()
 @template()
 class smallcache(default):
 class smallcache(default):
     CELERY_MAX_CACHED_RESULTS = 10
     CELERY_MAX_CACHED_RESULTS = 10
+
+
+@template()
+class execv(default):
+    CELERYD_FORCE_EXECV = True