Skip to main content

ARCHIVE_CHANNEL_CAPACITY

Constant ARCHIVE_CHANNEL_CAPACITY 

Source
const ARCHIVE_CHANNEL_CAPACITY: usize = 8;
Expand description

How many written chunks may sit between the archive writer and the client before the writer has to wait. The producer reads from the file store as fast as it is served, so without a bound a slow client makes the whole archive accumulate in memory.