WRYRHook: add timeout for request to discord

This commit is contained in:
norohind 2024-10-09 21:11:16 +02:00
parent 230fb9b1ba
commit 4f52c48c34
Signed by: norohind
SSH Key Fingerprint: SHA256:SnI4bWnejM2/YEQ5hpH58TUohiQpnjoKN6tXUQlobE0

View File

@ -44,6 +44,7 @@ def notify_discord(message: dict) -> None:
discord_request: requests.Response = requests.post(
url=hookURL,
json=message,
timeout=60
)
try: