Skip to main content

DEFAULT_BATCH_SIZE

Constant DEFAULT_BATCH_SIZE 

Source
pub const DEFAULT_BATCH_SIZE: usize = 1000; // 1_000usize
Expand description

Default page size used when a caller does not specify one.

Sources are free to override this from their own config when implementing Source::stream_pages; the value passed from the pipeline acts as a hint when no source-side preference exists.