caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
638 stars 56 forks source link

Is there a timeout for calls to `notify()`? #112

Closed dstathis closed 1 year ago

dstathis commented 1 year ago

:question: Question Is there any timeout for the notify() method. I want to make sure I don't leave code hanging forever if someone's email server is down. I've looked through the docs and can't seem to find any information.

caronc commented 1 year ago

i'm slow responding here, but there is async_notify() which you can leverage the timers built right into asyncio

caronc commented 1 year ago

Closing issue having not heard back.