fix analytics not loading
This commit is contained in:
parent
513bb3c967
commit
2550ee1ce1
2
main.go
2
main.go
|
@ -274,6 +274,7 @@ func storeInit() (e error) {
|
|||
if e != nil {
|
||||
return ws(e)
|
||||
}
|
||||
c.Analytics = c.NewDefaultAnalytics()
|
||||
c.Activity, e = c.NewDefaultActivityStream(acc)
|
||||
if e != nil {
|
||||
return ws(e)
|
||||
|
@ -600,6 +601,7 @@ func main() {
|
|||
log.Print("Received a signal to shutdown: ", sig)
|
||||
// TODO: Gracefully shutdown the HTTP server
|
||||
c.Tasks.Shutdown.Run()
|
||||
log.Print("Ran shutdown tasks")
|
||||
c.StoppedServer("Stopped server")
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue