gem/oq-engine — pull request #1395 by micheles (2014-03-31 09:13:29+00:00)
Title: Fix a memory leak of celery

When using .iter_native, the parameter CELERY_MAX_CACHED_RESULTS is not honored, thus we have to empty the cache manually. The bug has been reported on the celery mailing list: https://groups.google.com/forum/?hl=en#!topic/celery-users/Ew9NLCNBGHs