MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / check

Method check

src/db/wal-valve.ts:164–166  ·  view source on GitHub ↗

One poll: fire an off-thread passive checkpoint when growth passes the soft threshold.

()

Source from the content-addressed store, hash-verified

162
163 /** One poll: fire an off-thread passive checkpoint when growth passes the soft threshold. */
164 check(): void {
165 if (!this.pause && !this.inflight && this.growthBytes() > this.softBytes) this.fire();
166 }
167
168 /**
169 * Writer-side backstop, called at a between-transactions boundary. Returns

Callers 2

startMethod · 0.95

Calls 2

growthBytesMethod · 0.95
fireMethod · 0.95

Tested by

no test coverage detected