Skip to main content

pending_rows_batch_sync_enabled

Function pending_rows_batch_sync_enabled 

Source
pub fn pending_rows_batch_sync_enabled() -> bool
Expand description

Returns whether pending-row batch submissions wait for the flush result before replying to the client (synchronous mode), controlled by the PENDING_ROWS_BATCH_SYNC environment variable and defaulting to true.

Callers that reason about how long a remote write request may block (e.g. the frontend HTTP timeout fallback) must consult this instead of duplicating the env lookup.