Commit a7460483 authored by c.fortmanngrote's avatar c.fortmanngrote
Browse files

Testing direct email sending.

parent dde8f83a
Pipeline #259002 failed with stages
in 2 minutes and 50 seconds
...@@ -520,10 +520,11 @@ def test_task(): ...@@ -520,10 +520,11 @@ def test_task():
@app.route('/test_mail') @app.route('/test_mail')
def test_mail(): def test_mail():
logger.debug("Attempting to send mail throug redis queue.") email_test()
job = app.queue.enqueue(email_test) # logger.debug("Attempting to send mail throug redis queue.")
logger.debug(job) # job = app.queue.enqueue(email_test)
time.sleep(3) # logger.debug(job)
# time.sleep(3
# )
return str(job.result) return str(job.result)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment