ask/celery — pull request #661 by cangove (2012-04-10 18:15:51+00:00)
Title: Create index on date_done in MongoDB backend

Otherwise it does a full table scan which is not always allowed. This fix ensures the index exists when it is first used which will speed up the clean ups. It uses background mode as to be non-blocking to the actual call.