Skip to main content

MAX_TODOS

Constant MAX_TODOS 

Source
pub const MAX_TODOS: usize = 20;
Expand description

Hard ceiling on a single checklist’s length.

Why: the list is retained for the life of the session and re-serialised into every roster read and change event, so an unbounded list is unbounded session memory and unbounded wire payload. Twenty steps is well past the point where a plan stops being a plan.