瀏覽代碼

Stresstests: Changes result expiry to 1 minute

Ask Solem 11 年之前
父節點
當前提交
3bdc7012b4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      funtests/stress/stress/templates.py

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

@@ -50,6 +50,7 @@ class default(object):
     CELERY_TASK_SERIALIZER = 'json'
     CELERY_RESULT_SERIALIZER = 'json'
     CELERY_RESULT_PERSISTENT = True
+    CELERY_TASK_RESULT_EXPIRES = 60
     CELERY_QUEUES = [
         Queue(CSTRESS_QUEUE,
               exchange=Exchange(CSTRESS_QUEUE),