questdb / py-questdb-client

Python client for QuestDB InfluxDB Line Protocol
https://py-questdb-client.readthedocs.io
Apache License 2.0
50 stars 7 forks source link

test: Fixed a bad testing interaction with SO_LINGER on some setups. #22

Closed amunra closed 1 year ago

amunra commented 1 year ago

The client (having SO_LINGER set) failed to apply its changes to the underlying socket on Linux due to the server's buffer being full. Before this change, the test would hang for 2 minutes before completing on some setups (depending on buffer sizes).