mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [Mail] debug
This commit is contained in:
parent
e938efa8d1
commit
c2d47cdd61
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ if __name__ == "__main__":
|
||||||
err_mess = "Mails: processing timeout: {}".format(item_id)
|
err_mess = "Mails: processing timeout: {}".format(item_id)
|
||||||
print(err_mess)
|
print(err_mess)
|
||||||
publisher.info(err_mess)
|
publisher.info(err_mess)
|
||||||
|
signal.signal(signal.SIGALRM, timeout_handler)
|
||||||
continue
|
continue
|
||||||
finally:
|
finally:
|
||||||
signal.alarm(0)
|
signal.alarm(0)
|
||||||
|
|
Loading…
Reference in a new issue