| … | … | @@ -1358,7 +1358,17 @@ export async function startPearGit (opts = {}) { |
| 1358 | 1358 | { |
| 1359 | 1359 | const runReconcile = () => { |
| 1360 | 1360 | Promise.resolve(svc._refReconcilers && svc._refReconcilers.reconcileAll()) |
| 1361 | .then((r) => { if (r && r.scanned) console.log('[reconcile] swept ' + r.scanned + ' repo(s)') }) | |
| 1361 | // Report skipped too. Once the sweep started asking needsPass() | |
| 1362 | // (0.1.220) a healthy daemon skips nearly everything, so gating the | |
| 1363 | // line on `scanned` alone would make a working sweep look like a | |
| 1364 | // stopped one — and hide the number that says the skip is working. | |
| 1365 | .then((r) => { | |
| 1366 | if (!r) return | |
| 1367 | const skipped = r.skipped || 0 | |
| 1368 | if (!r.scanned && !skipped) return | |
| 1369 | console.log('[reconcile] swept ' + r.scanned + ' repo(s)' + | |
| 1370 | (skipped ? ', skipped ' + skipped + ' quiet' : '')) | |
| 1371 | }) | |
| 1362 | 1372 | .catch((err) => console.error('[reconcile] sweep failed:', err && err.message)) |
| 1363 | 1373 | } |
| 1364 | 1374 | // Boot sweep — delayed so the reverse pullers register their remotes |
| … | … | @@ -1,6 +1,6 @@ |
| 1 | 1 | { |
| 2 | 2 | "name": "pear-git-v3", |
| 3 | "version": "0.1.220", | |
| 3 | "version": "0.1.221", | |
| 4 | 4 | "description": "P2P git forge — multi-writer issue/org/release/peer-mirror daemon. Built bottom-up after the failed v2.", |
| 5 | 5 | "type": "module", |
| 6 | 6 | "main": "index.js", |