Skip to main content

BATCH_SIZE

Constant BATCH_SIZE 

Source
pub const BATCH_SIZE: usize = 30;
Expand description

How many days go in one request.

The server caps a batch and answers 413 past it (KASL_MAX_BATCH_DAYS, ADR 0005), so a long backlog is split here rather than bounced there. Well under any plausible server limit: the cost of an extra request is one round trip, the cost of guessing too high is a refusal the user has to decode.