fix: [Mail] debug

This commit is contained in:
Terrtia 2020-05-12 09:53:31 +02:00
parent e938efa8d1
commit c2d47cdd61
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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)