Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpievolbio-scicomp
RepinPop
Commits
a7460483
Commit
a7460483
authored
Dec 17, 2021
by
c.fortmanngrote
Browse files
Testing direct email sending.
parent
dde8f83a
Pipeline
#259002
failed with stages
in 2 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/routes.py
View file @
a7460483
...
...
@@ -520,10 +520,11 @@ def test_task():
@
app
.
route
(
'/test_mail'
)
def
test_mail
():
logger
.
debug
(
"Attempting to send mail throug redis queue."
)
job
=
app
.
queue
.
enqueue
(
email_test
)
logger
.
debug
(
job
)
time
.
sleep
(
3
)
email_test
()
# logger.debug("Attempting to send mail throug redis queue.")
# job = app.queue.enqueue(email_test)
# logger.debug(job)
# time.sleep(3
# )
return
str
(
job
.
result
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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