Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Elia Ponzio
cynomys
Commits
bdba4d82
Commit
bdba4d82
authored
Jun 25, 2021
by
Stephan Feurer
Browse files
Fix notifier task not queued if failed
parent
9d46540f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cynomys/tasks.py
View file @
bdba4d82
...
...
@@ -92,7 +92,7 @@ def notify_email(delta_id, attempts):
# Email was not sent, retry
logger
.
error
(
"failed to send email to {}, attempts left: {}"
.
format
(
receivers
,
attempts
))
if
attempts
>
0
:
notify_email
(
receivers
,
delta_id
,
attempts
)
notify_email
.
delay
(
receivers
,
delta_id
,
attempts
)
def
check_delta
(
responsebool
,
return_value
,
parent_task
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment