fix(ci): restore hub-check postgres wait deadline

This commit is contained in:
2026-07-30 11:46:18 +08:00
parent 3a4b9e052a
commit 46d6722254
+1
View File
@@ -54,6 +54,7 @@ jobs:
run: | run: |
node <<'NODE' node <<'NODE'
const net = require("node:net"); const net = require("node:net");
const deadline = Date.now() + 60000;
const port = Number(process.env.HUB_CHECK_PG_PORT || "15432"); const port = Number(process.env.HUB_CHECK_PG_PORT || "15432");
function tryConnect() { function tryConnect() {
const socket = net.createConnection({ host: "127.0.0.1", port }); const socket = net.createConnection({ host: "127.0.0.1", port });