Skip to main content

note_if_large

Function note_if_large 

Source
pub(crate) async fn note_if_large(
    cm: &ContainerManager,
    container_name: &str,
    block_id: &str,
    broker: &Arc<Broker>,
    filestore: &Arc<FileStore>,
    mstore: &Arc<Store>,
)
Expand description

Writes one row in the pane, once per agent per run of srv, when the agent’s cache volumes hold WARN_BYTES or more. Docker’s disk-usage report can take a while with many volumes, so a start-up runs this in the background.