chore: bump deploy webhook timeout to 60s
This commit is contained in:
1 parent
a36058cab9
commit
6107873cfa
1 file changed
+1
-1
@@ -56,7 +56,7 @@ def deploy():
|
||||
if WEBHOOK_TOKEN:
|
||||
req.add_header("Authorization", "Bearer " + WEBHOOK_TOKEN)
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=30) as r:
|
||||
with urllib.request.urlopen(req, timeout=60) as r:
|
||||
return {"deployed": True, "status": r.status}
|
||||
except Exception as e:
|
||||
return {"deployed": False, "error": str(e)}
|
||||
|
||||
Reference in new issue
Block a user