Explorar o código

Stresstests: Changes result expiry to 1 minute

Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
3bdc7012b4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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),