forked from EduCraft/curriculum-project-hub
fix(ci): restore hub-check postgres wait deadline
This commit is contained in:
@@ -54,6 +54,7 @@ jobs:
|
||||
run: |
|
||||
node <<'NODE'
|
||||
const net = require("node:net");
|
||||
const deadline = Date.now() + 60000;
|
||||
const port = Number(process.env.HUB_CHECK_PG_PORT || "15432");
|
||||
function tryConnect() {
|
||||
const socket = net.createConnection({ host: "127.0.0.1", port });
|
||||
|
||||
Reference in New Issue
Block a user