mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 07:05:24 +00:00
chore: lock the plugin boundary and remove 2.9.0 leftovers
This commit is contained in:
1 parent
6489b62ece
commit
2961297989
399 files changed
+3964
-5627
No files matched your search
@@ -204,6 +204,7 @@ export function createC2SRelay(ctx: PluginContext) {
|
||||
function connectSource(hostId: number): Promise<PluginSshConnection<Client>> {
|
||||
return ctx.ssh.connect<Client>(hostId, {
|
||||
purpose: "tunnel",
|
||||
profile: "forward",
|
||||
timeoutMs: 60_000,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -190,6 +190,7 @@ export function createTunnelManager(ctx: PluginContext) {
|
||||
return ctx.asUser(userId, () =>
|
||||
ctx.ssh.connect<Client>(hostId, {
|
||||
purpose: "tunnel",
|
||||
profile: "forward",
|
||||
timeoutMs: CONNECT_TIMEOUT_MS,
|
||||
sock,
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user