Skip to main content

make_room

Function make_room 

Source
pub fn make_room(
    records: &[Record],
    open: &BTreeSet<u64>,
    limits: &Records,
    incoming: u64,
    free: Option<u64>,
    now: u64,
) -> Result<Vec<(u64, RecordRemoval)>, String>
Expand description

Which records go, and why, before a new record of incoming bytes is made; or why it is not made. Records in open have a shell open and stay. free is the disk Docker has left, when known. Expired records go too.