Skip to main content

peer_files_wait

Function peer_files_wait 

Source
pub(super) fn peer_files_wait(
    req: &InjectionRequest,
    files_withheld: bool,
) -> bool
Expand description

Whether a message with files from another machine, to an agent here that can’t work, waits for it (jekt_files::receive): the files are read within the tier’s limits and kept in the attachment store, and the message is held with them. Not when the files are withheld (the sender’s signature failed), the sender did not prove itself, it is a cron fire, or there is no id to key the row by: those are refused before a byte is read, as they always were.