-
-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Labels
feature requestNew issue opened using "Feature request" templateNew issue opened using "Feature request" template
Description
Is your feature request related to a problem? Please describe.
Hi! I was playing with connect over SSH feature in clickhouse-driver and found out that tunnel automatically closes and every action fails.
Describe the solution you'd like
Maybe it is possible to configure this setting in tunnel-ssh?
Describe alternatives you've considered
:(
Additional context
LOC:
| autoClose: true, |
Some repro scripts:
Tunnel from usage example
Clickhouse:
import { createClient } from "@clickhouse/client";
const client = createClient({
url: "http://localhost:51212",
});
client.ping().then((res) => console.log(res));
client
.query({ query: "SELECT 1" })
.then((res) => console.log(res.json().then((j) => console.log(j.data))));If set autoClose to true, tunnel will close every time clickhouse script executed, if set to false, it remains opened.
Metadata
Metadata
Assignees
Labels
feature requestNew issue opened using "Feature request" templateNew issue opened using "Feature request" template