From 49183c01e31c7df7094c631768700443151df0be Mon Sep 17 00:00:00 2001 From: stormcat24 Date: Thu, 29 Jun 2017 17:12:40 +0900 Subject: [PATCH] fix increment grpc connection bug --- metrics/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/stats.go b/metrics/stats.go index be6d3a1..661e185 100644 --- a/metrics/stats.go +++ b/metrics/stats.go @@ -86,7 +86,7 @@ func IncConnectionSSE() { } func IncConnectionGRPC() { - atomic.AddInt64(&connectionsSSE, 1) + atomic.AddInt64(&connectionsGRPC, 1) } func DecConnection() {