mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 06:40:27 +00:00
Updated pirsch and process tracking statistics on startup.
This commit is contained in:
2
go.mod
2
go.mod
@@ -7,7 +7,7 @@ require (
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/emvi/api-go v0.2.2
|
||||
github.com/emvi/logbuch v1.1.1
|
||||
github.com/emvi/pirsch v1.4.2
|
||||
github.com/emvi/pirsch v1.4.3
|
||||
github.com/go-sql-driver/mysql v1.5.0 // indirect
|
||||
github.com/gorilla/mux v1.8.0
|
||||
github.com/gosimple/slug v1.9.0
|
||||
|
||||
@@ -59,6 +59,7 @@ func NewTracker() (*pirsch.Tracker, context.CancelFunc) {
|
||||
cancel := pirsch.RunAtMidnight(func() {
|
||||
processTrackingData(processor)
|
||||
})
|
||||
processTrackingData(processor) // run on startup
|
||||
return tracker, cancel
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user