Closed casperisfine closed 1 year ago
Especially for hiredis connection, these objects are expensive.
So it's preferable to reconnect using that same object than to free all that memory to reallocate it later.
This also properly release the GVL in a couple situations it wasn't before (connect and close).
connect
close
Especially for hiredis connection, these objects are expensive.
So it's preferable to reconnect using that same object than to free all that memory to reallocate it later.
This also properly release the GVL in a couple situations it wasn't before (
connect
andclose
).