From c2d47cdd611e961d5432741b71557f650d2f6604 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 12 May 2020 09:53:31 +0200 Subject: [PATCH] fix: [Mail] debug --- bin/Mail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/Mail.py b/bin/Mail.py index 5e20c37a..200e64fd 100755 --- a/bin/Mail.py +++ b/bin/Mail.py @@ -157,6 +157,7 @@ if __name__ == "__main__": err_mess = "Mails: processing timeout: {}".format(item_id) print(err_mess) publisher.info(err_mess) + signal.signal(signal.SIGALRM, timeout_handler) continue finally: signal.alarm(0)