Skip to main content

Module container_limits

Module container_limits 

Source
Expand description

A container agent’s own CPU and memory limits (db_agent_container_limits), beside the agent definition rather than a column of it: a column of db_agents is read and written in a few dozen places. An absent row, or an empty value, is “not set”: the app-wide setting and then the default computed from the Docker daemon decide (backend::container::limits). 0 is “no limit”. docs/specs/SPEC_CONTAINER_AGENT_RESOURCE_LIMITS_2026_10_29.md §3.

The table is created here, on first use (CREATE TABLE IF NOT EXISTS), rather than in the schema batch of migrations.rs: no schema bump, since an older build ignores a table it does not know, and that file has a size ceiling.