ClickHouse / clickhouse-js

Official JS client for ClickHouse DB
https://clickhouse.com
Apache License 2.0
213 stars 26 forks source link

Drain the response stream in the command method #264

Closed slvrtrn closed 5 months ago

slvrtrn commented 5 months ago

Summary

The command method now drains the response stream properly, as the previous implementation could cause the Keep-Alive socket to close after each request.

Checklist

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
93.9% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud