diff --git a/src/appier_extras/parts/admin/models/event.py b/src/appier_extras/parts/admin/models/event.py index 74e40f69..5a00c3f4 100644 --- a/src/appier_extras/parts/admin/models/event.py +++ b/src/appier_extras/parts/admin/models/event.py @@ -182,10 +182,11 @@ def _retry(cls, callable, count=3): def notify_http(self, arguments={}): cls = self.__class__ url = arguments.get("url", None) + timeout = arguments.get("timeout", None) retries = arguments.get("retries", 3) logger = appier.get_logger() logger.debug("Running HTTP notification for '%s' ..." % url) - return cls._retry(lambda: appier.post(url, data_j=arguments), count=retries) + return cls._retry(lambda: appier.post(url, timeout=timeout, data_j=arguments), count=retries) def notify_mailme(self, arguments={}): cls = self.__class__