Skip to main content

DEFAULT_CURSOR_CAPACITY

Constant DEFAULT_CURSOR_CAPACITY 

Source
pub const DEFAULT_CURSOR_CAPACITY: usize = 1024;
Expand description

Default number of rows a streaming cursor keeps in flight between the producer and the consumer. Caps the bounded channel for the synchronous (spawn_blocking) backends and the default next_batch chunk; the async backends are additionally bounded by the driver’s own server-side fetch window.