No need to launch the document indexing task

on document state log entries deletion.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-06-07 02:04:30 -04:00
parent 196d00897d
commit 9840851109

View File

@@ -1,7 +1,7 @@
from __future__ import unicode_literals
from django.apps import apps
from django.db.models.signals import post_delete, post_save
from django.db.models.signals import pre_delete, post_delete, post_save
from django.utils.translation import ugettext_lazy as _
from kombu import Exchange, Queue
@@ -243,11 +243,6 @@ class DocumentStatesApp(MayanAppConfig):
# Index updating
post_delete.connect(
handler_index_document,
dispatch_uid='handler_index_document_delete',
sender=WorkflowInstanceLogEntry
)
post_save.connect(
handler_index_document,
dispatch_uid='handler_index_document_save',