feat: add timeouts to all requests requests
This commit is contained in:
parent
2498f408c8
commit
fff38fa994
7 changed files with 10 additions and 7 deletions
|
@ -66,4 +66,4 @@ class Webhook(AbstractConfiguration):
|
|||
else:
|
||||
# Matrix as default
|
||||
data = {"body": text}
|
||||
requests.post(self.url, json=data)
|
||||
requests.post(self.url, json=data, timeout=30)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue