Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions celery_haystack/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class CeleryHaystack(AppConf):
QUEUE = None
#: Whether the task should be handled transaction safe
TRANSACTION_SAFE = True
#: Whether the task results should be ignored
IGNORE_RESULT = False

#: The batch size used by the CeleryHaystackUpdateIndex task
COMMAND_BATCH_SIZE = None
Expand Down
2 changes: 2 additions & 0 deletions celery_haystack/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class CeleryHaystackSignalHandler(Task):
using = settings.CELERY_HAYSTACK_DEFAULT_ALIAS
max_retries = settings.CELERY_HAYSTACK_MAX_RETRIES
default_retry_delay = settings.CELERY_HAYSTACK_RETRY_DELAY
ignore_result = settings.CELERY_HAYSTACK_IGNORE_RESULT
store_errors_even_if_ignored = True

def split_identifier(self, identifier, **kwargs):
"""
Expand Down