Server now stores 10 minutes of stats

This commit is contained in:
2016-01-10 21:03:00 +03:00
parent 58007b38ab
commit 71a8441a8b
2 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func main() {
server.Start()
s := satan.Summon()
s.SubscribeFunc = kafka.Subscribe
s.Subscriber = kafka.Subscriber{}
s.DaemonStats = stats.NewGroup(statsLogger, statsServer)
s.AddDaemon(&daemons.NumberPrinter{})