MCPcopy Create free account
hub / github.com/EvoMap/evolver / resolveMaxJsonlLineBytes

Function resolveMaxJsonlLineBytes

src/proxy/mailbox/store.js:122–126  ·  view source on GitHub ↗
(env = process.env)

Source from the content-addressed store, hash-verified

120}
121
122function resolveMaxJsonlLineBytes(env = process.env) {
123 const raw = Number(env.EVOMAP_MAILBOX_MAX_LINE_BYTES);
124 if (Number.isFinite(raw) && raw > 0) return Math.floor(raw);
125 return DEFAULT_MAX_JSONL_LINE_BYTES;
126}
127
128function forEachJsonLine(filePath, onRow, opts = {}) {
129 const stats = { parsed: 0, corrupt: 0, overlong: 0 };

Callers 2

jsonlLineForWriteFunction · 0.85
forEachJsonLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected