Skip to main content

DOWNLOAD_BACKLOG

Constant DOWNLOAD_BACKLOG 

Source
pub const DOWNLOAD_BACKLOG: usize = 4;
Expand description

How many finished downloads one profile’s broadcast keeps for a viewer that is not reading.

The backlog is memory, and a download is bytes: a finished offer can carry 32 MiB, so this is the memory a profile holds for a page that saved files while nobody looked. A viewer that lags past it loses the oldest offers, which the server reports as a dropped download.