From d05601455b62c501c956e6b3b71e18c92ba3c6e8 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 2 Jul 2019 17:01:25 -0400 Subject: [PATCH] Increment heartbeat counter --- chatIn.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chatIn.go b/chatIn.go index 81f699f..b8996d7 100644 --- a/chatIn.go +++ b/chatIn.go @@ -211,5 +211,6 @@ func heartbeat(c chan<- ChatIn, freq time.Duration) { time.Sleep(freq) m.Msg.ID = count c <- m + count++ } }