From 3c7c6f2d9a49e136a8a6fb3f4e517fde2bb2a837 Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Sun, 19 Oct 2014 18:03:18 +0200 Subject: hub: fix s5srv data appender - this time, really start the appendActor - use a buffered channel for the appending --- src/hub/src/spreadspace.org/sfive/s5srv.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hub/src/spreadspace.org/sfive/s5srv.go b/src/hub/src/spreadspace.org/sfive/s5srv.go index 7eab0eb..a734ec1 100644 --- a/src/hub/src/spreadspace.org/sfive/s5srv.go +++ b/src/hub/src/spreadspace.org/sfive/s5srv.go @@ -41,6 +41,7 @@ func NewServer(dbPath string) (server *StatsSinkServer, err error) { server.quit = make(chan bool) server.done = make(chan bool) - server.appendData = make(chan StatisticsData) + server.appendData = make(chan StatisticsData, 100) + go server.appendActor() return } -- cgit v1.2.3