Skip to content

Commit

Permalink
fix: inc->dec
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Razon committed Nov 12, 2023
1 parent b61ad55 commit 8a1c2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tunnel-server/src/ssh/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const createSshServer = ({
const onClient = (client: BaseSshClient) => {
const { clientId, publicKey, envId, connectionId, publicKeyThumbprint, log } = client
sshConnectionsGauge.inc({ envId })
const cleanupClient = lodash.once(() => { sshConnectionsGauge.inc({ envId }) })
const cleanupClient = lodash.once(() => { sshConnectionsGauge.dec({ envId }) })
const tunnels = new Map<string, string>()
client
.on('forward', async (requestId, { path: tunnelPath, access, meta, inject }, localSocketPath, accept, reject) => {
Expand Down

0 comments on commit 8a1c2c7

Please sign in to comment.