robopark 2.8.25 → 2.8.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scheduler/main.py +9 -1
package/package.json
CHANGED
package/scheduler/main.py
CHANGED
|
@@ -1159,7 +1159,15 @@ async def health_checker():
|
|
|
1159
1159
|
if resp.status_code == 200:
|
|
1160
1160
|
new_status = "online"
|
|
1161
1161
|
else:
|
|
1162
|
-
|
|
1162
|
+
# A bare LiveKit server (no sidecar webhook
|
|
1163
|
+
# service in front of it, e.g. `--dev` mode
|
|
1164
|
+
# with no separate health endpoint) has no
|
|
1165
|
+
# /health route and returns 404 here even
|
|
1166
|
+
# though it's genuinely up — LiveKit's own
|
|
1167
|
+
# root path returns "OK" instead. Fall back
|
|
1168
|
+
# to that before declaring it offline.
|
|
1169
|
+
resp2 = await client.get(server["webhook_url"])
|
|
1170
|
+
new_status = "online" if resp2.status_code == 200 else "offline"
|
|
1163
1171
|
except:
|
|
1164
1172
|
new_status = "offline"
|
|
1165
1173
|
|