diff --git a/funtests/stress/stress/templates.py b/funtests/stress/stress/templates.py index 6c5dc72b432..2235bf65268 100644 --- a/funtests/stress/stress/templates.py +++ b/funtests/stress/stress/templates.py @@ -51,6 +51,7 @@ class default(object): CELERY_RESULT_SERIALIZER = 'json' CELERY_RESULT_PERSISTENT = True CELERY_TASK_RESULT_EXPIRES = 300 + CELERY_MAX_CACHED_RESULTS = 10 CELERY_QUEUES = [ Queue(CSTRESS_QUEUE, exchange=Exchange(CSTRESS_QUEUE), @@ -104,11 +105,6 @@ class events(default): CELERY_SEND_TASK_SENT_EVENT = True -@template() -class smallcache(default): - CELERY_MAX_CACHED_RESULTS = 10 - - @template() class execv(default): CELERYD_FORCE_EXECV = True