Skip to main content

MAX_ENTRIES

Constant MAX_ENTRIES 

Source
const MAX_ENTRIES: usize = 5000;
Expand description

Tail limit for a single journal fetch. Without it, a chatty scheduler on a long-running boot can hand back tens of megabytes of JSON, all parsed synchronously while the UI is frozen. The newest entries are what the view opens on anyway; anything older is journalctl’s job.