fix: [Mails regex timeout] reduce default timeout

This commit is contained in:
Terrtia 2020-05-04 14:36:48 +02:00
parent fa35bfc252
commit 3f4447f9b1
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -74,7 +74,7 @@ if __name__ == "__main__":
# Log as critical if there are more that that amout of valid emails
is_critical = 10
max_execution_time = 60
max_execution_time = 30
email_regex = "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}"
MX_values = None
while True: