Add new split move index navigation.

This commit is contained in:
Roberto Rosario
2016-03-15 04:11:19 -04:00
parent 3d36f1b828
commit 1a20d93e4c
8 changed files with 105 additions and 72 deletions

View File

@@ -100,7 +100,7 @@ def task_do_rebuild_all_indexes(self):
app_label='lock_manager', model_name='Lock'
)
if Lock.check_existing(name__startswith='document_indexing_task_update_index_document'):
if Lock.objects.check_existing(name__startswith='document_indexing_task_update_index_document'):
# A document index update is happening, wait
raise self.retry()