Brings one already-loaded feed up to date with CUBE at the cost the change
warrants: a settled feed pays one feed-row fetch per FEED_RECHECK_MS;
a feed with running work pays that fetch on every visit; and only when the
counters moved (or work is running) does the visit walk the delta —
min_end_date from the cursor, which yields nodes created OR finished since
(CUBE stamps end_date at creation and again at completion) — followed by an
active=true sweep for the nodes still in flight.
Concurrent visits share one in-flight sync, and visits within
FEED_VISIT_COALESCE_MS of each other share the first one's result
(a pane tick and an ls in the same second are one visit). Failures are
surfaced as warnings and never fail the visit: the cache stays as it was.
Parameters
feedID: number
A feed whose topology is already loaded.
force: boolean = false
Ignore the settled-feed throttle (an explicit refresh).
Returns Promise<boolean>
True when the cache reflects CUBE as of this visit (including a
visit that needed no wire), false when the sync failed.
Brings one already-loaded feed up to date with CUBE at the cost the change warrants: a settled feed pays one feed-row fetch per FEED_RECHECK_MS; a feed with running work pays that fetch on every visit; and only when the counters moved (or work is running) does the visit walk the delta —
min_end_datefrom the cursor, which yields nodes created OR finished since (CUBE stamps end_date at creation and again at completion) — followed by anactive=truesweep for the nodes still in flight.Concurrent visits share one in-flight sync, and visits within FEED_VISIT_COALESCE_MS of each other share the first one's result (a pane tick and an
lsin the same second are one visit). Failures are surfaced as warnings and never fail the visit: the cache stays as it was.