Resolve docker_network_connect.sh on the mirror, and give the wizard poll time to outlast Phase 2
Step 1b ran the owner's SCRIPTS_ROOT path over SSH on the mirror, so it failed on every appdata install; the wizard poll expired at 5 minutes against a Phase 2 that takes over 4.
This commit is contained in:
@@ -594,11 +594,16 @@ function vvRenderDone(d) {
|
||||
// So: reload immediately, and if the partnership is still not green keep asking. Bounded at five
|
||||
// minutes because a Phase 2 that has not landed by then has failed and the operator should be
|
||||
// looking at the log, not at a spinner.
|
||||
//
|
||||
// Twenty, not five. Five was sized on a Phase 2 that deploys containers and stops; the arr
|
||||
// bootstrap in Step 9 pushed a real run to 4m05s and it grows with library size, so the poll was
|
||||
// expiring before the flag landed and the wizard sat unchanged on a partnership that had already
|
||||
// succeeded — the exact symptom this function exists to remove.
|
||||
let _vvPartnerPoll = null;
|
||||
function vvOnJobDone(id, status) {
|
||||
if (!String(id).includes('partnership_onboard')) { vvLoadChecklist(); return; }
|
||||
if (_vvPartnerPoll) clearInterval(_vvPartnerPoll);
|
||||
const deadline = Date.now() + 5 * 60 * 1000;
|
||||
const deadline = Date.now() + 20 * 60 * 1000;
|
||||
const check = () => {
|
||||
fetch('/plugins/varaverk/api/checklist.php?_=' + Date.now())
|
||||
.then(r => r.json())
|
||||
|
||||
Reference in New Issue
Block a user