Skip to content

Commit

Permalink
Merge pull request #2803 from kobotoolbox/remove-orphaned-search-inde…
Browse files Browse the repository at this point in the history
…x-task

Remove orphaned `update_search_index` task
  • Loading branch information
noliveleger committed Sep 24, 2020
2 parents 8d5bbab + 80cc5b3 commit 018c8fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kpi/tasks.py
Expand Up @@ -5,11 +5,6 @@
from kpi.models import ImportTask, ExportTask


@shared_task
def update_search_index():
call_command('update_index', using=['default',], remove=True)


@shared_task
def import_in_background(import_task_uid):
import_task = ImportTask.objects.get(uid=import_task_uid)
Expand Down

0 comments on commit 018c8fe

Please sign in to comment.