mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
update comments
This commit is contained in:
parent
43bd929b2c
commit
698706b41f
1 changed files with 3 additions and 0 deletions
|
@ -387,6 +387,9 @@ func (s *server) routeMessagesToProcess(dbFileName string) {
|
|||
|
||||
// Start reading new fresh messages received on the incomming message
|
||||
// pipe/file requested, and fill them into the buffer.
|
||||
// Since the new messages comming into the system is a []subjectAndMessage
|
||||
// we loop here, unfold the slice, and put single subjectAndMessages's on
|
||||
// the channel to the ringbuffer.
|
||||
go func() {
|
||||
for sams := range s.newMessagesCh {
|
||||
for _, sam := range sams {
|
||||
|
|
Loading…
Reference in a new issue