We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0526c1d + 4a81e28 commit 643df37Copy full SHA for 643df37
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