diff --git a/FastTunnel.Core/Forwarder/FastTunnelForwarderHttpClientFactory.cs b/FastTunnel.Core/Forwarder/FastTunnelForwarderHttpClientFactory.cs index 04fa957..b4ca44a 100644 --- a/FastTunnel.Core/Forwarder/FastTunnelForwarderHttpClientFactory.cs +++ b/FastTunnel.Core/Forwarder/FastTunnelForwarderHttpClientFactory.cs @@ -67,7 +67,7 @@ public class FastTunnelForwarderHttpClientFactory : ForwarderHttpClientFactory } finally { - Interlocked.Increment(ref connectionCount); + Interlocked.Decrement(ref connectionCount); logger.LogDebug($"统计YARP连接数:{connectionCount}"); } }