This commit is contained in:
royalcat 2024-01-01 21:17:32 +03:00
parent 49444bd70d
commit 7d9f1a437c
6 changed files with 49 additions and 14 deletions
cmd/tstor

View file

@ -176,7 +176,7 @@ func run(configPath string) error {
go func() {
logFilename := filepath.Join(conf.Log.Path, dlog.FileName)
err = http.New(nil, nil, ts, logFilename, conf)
err = http.New(nil, service.NewStats(), ts, logFilename, conf)
log.Error().Err(err).Msg("error initializing HTTP server")
}()