Skip to main content

MAX_READ_LINES

Constant MAX_READ_LINES 

Source
pub const MAX_READ_LINES: usize = 10_000 /* 10_000usize */;
Expand description

The most lines one read carries, whatever ceiling the caller hands in: a file of very short lines meets this long before the byte ceiling, and every line past it is one the answer’s own JSON would pay for. The response is the smaller of the two bounds, flagged whenever either bites.