Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call the success signal. #6

Merged
merged 2 commits into from
Jun 12, 2018
Merged

Call the success signal. #6

merged 2 commits into from
Jun 12, 2018

Conversation

clokep
Copy link
Owner

@clokep clokep commented Jun 8, 2018

This calls the celery success signal after the task has run. This uses the result of the celery batches call, which isn't really used anywhere else (it isn't returned to any AsyncResult since no particular result exists for this task run).

This also re-arranges some of the try-excepts to ensure that the post-run signal runs even if an exception happens in the success signal.

@clokep clokep self-assigned this Jun 8, 2018
@clokep clokep merged commit 92f4b91 into master Jun 12, 2018
@clokep clokep deleted the success-signal branch June 12, 2018 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant