mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +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)
|
||||
print(err_mess)
|
||||
publisher.info(err_mess)
|
||||
signal.signal(signal.SIGALRM, timeout_handler)
|
||||
continue
|
||||
finally:
|
||||
signal.alarm(0)
|
||||
|
|
Loading…
Reference in a new issue