Skip to main content

default_connection_pool_size

Function default_connection_pool_size 

Source
pub fn default_connection_pool_size() -> NonZeroUsize
Expand description

Returns the default SQLite connection pool size.

Defaults to twice the available CPU parallelism. If the OS cannot report the available parallelism, fall back to two connections.