We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dab2c41 commit 4a81e28Copy full SHA for 4a81e28
PiBuoyV2/services/sense/hooks.py
@@ -50,7 +50,7 @@ def insert_message_data(data):
50
51
def send_hook(card):
52
try:
53
- r = httpx.post(get_url(), json=card)
+ r = httpx.post(get_url(), json=card, timeout=5.0)
54
return r.status_code
55
except Exception as e:
56
return f'Failed because: {e}, on card: {card}'
0 commit comments