fix count

This commit is contained in:
Gui.H 2022-11-06 20:22:59 +08:00
parent ba69f423d5
commit 4f69ae3e96

View File

@ -67,7 +67,7 @@ public class FastTunnelForwarderHttpClientFactory : ForwarderHttpClientFactory
} }
finally finally
{ {
Interlocked.Increment(ref connectionCount); Interlocked.Decrement(ref connectionCount);
logger.LogDebug($"统计YARP连接数{connectionCount}"); logger.LogDebug($"统计YARP连接数{connectionCount}");
} }
} }