Merge pull request #3222 from beeankha/timeout_config

Add Timeout Feature to Email Notification Template

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-03-16 12:46:17 +00:00
committed by GitHub
4 changed files with 34 additions and 7 deletions

View File

@@ -17,7 +17,8 @@ class CustomEmailBackend(EmailBackend):
"use_tls": {"label": "Use TLS", "type": "bool"},
"use_ssl": {"label": "Use SSL", "type": "bool"},
"sender": {"label": "Sender Email", "type": "string"},
"recipients": {"label": "Recipient List", "type": "list"}}
"recipients": {"label": "Recipient List", "type": "list"},
"timeout": {"label": "Timeout", "type": "int"}}
recipient_parameter = "recipients"
sender_parameter = "sender"