4 Commits

Author SHA1 Message Date
contact
48ac93422a Document Ring
git-svn-id: file:///srv/svn/repo/suika/trunk@59 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-02-17 15:09:35 +00:00
contact
c326b2708f Fix issues related to Ring
- RingConsumer is now used directly in the goroutine responsible for
  writing downstream messages. This allows the ring buffer not to be
  consumed on write error.
- RingConsumer now has a channel attached. This allows PRIVMSG messages
  to always use RingConsumer, instead of also directly pushing messages
  to all downstream connections.
- Multiple clients with the same history name are now supported.
- Ring is now protected by a mutex

git-svn-id: file:///srv/svn/repo/suika/trunk@57 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-02-17 14:46:29 +00:00
contact
155c149e56 Add names to consumers
git-svn-id: file:///srv/svn/repo/suika/trunk@51 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-02-07 16:35:57 +00:00
contact
64dcb3b383 Add an in-memory ring buffer
References: https://todo.sr.ht/~emersion/jounce/2

git-svn-id: file:///srv/svn/repo/suika/trunk@50 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-02-07 15:43:54 +00:00