Browse Source

Increment heartbeat counter

main
Sam 6 years ago
parent
commit
d05601455b
  1. 1
      chatIn.go

1
chatIn.go

@ -211,5 +211,6 @@ func heartbeat(c chan<- ChatIn, freq time.Duration) {
time.Sleep(freq) time.Sleep(freq)
m.Msg.ID = count m.Msg.ID = count
c <- m c <- m
count++
} }
} }

Loading…
Cancel
Save