connector-x icon indicating copy to clipboard operation
connector-x copied to clipboard

Releasing GIL in read_sql

Open jonasbrami opened this issue 1 year ago • 1 comments
trafficstars

Hello, We observed that connectorx is not releasing the GIL inside read_sql. We observed it against TimeScaleDB and Redshift. Is it expected ? Thank you!

jonasbrami avatar Jan 02 '24 07:01 jonasbrami

By default the GIL is not released https://pyo3.rs/v0.20.2/parallelism, do you have any use case where it'd be helpful to have it unlocked?

surister avatar Jul 27 '24 19:07 surister