Browse Source

Increment heartbeat counter

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

1
chatIn.go

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

Loading…
Cancel
Save