From 3f4447f9b16308e568c0a63bbc73d60f52ebad03 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Mon, 4 May 2020 14:36:48 +0200 Subject: [PATCH] fix: [Mails regex timeout] reduce default timeout --- bin/Mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/Mail.py b/bin/Mail.py index 97f5cae7..634931c9 100755 --- a/bin/Mail.py +++ b/bin/Mail.py @@ -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: