chore: retire unused service

This commit is contained in:
Steven
2024-08-27 23:42:37 +08:00
parent 9d6d93ab39
commit 784d91ab75
10 changed files with 0 additions and 75 deletions

View File

@ -14,7 +14,6 @@ import (
"github.com/yourselfhosted/slash/server"
"github.com/yourselfhosted/slash/server/common"
"github.com/yourselfhosted/slash/server/metric"
"github.com/yourselfhosted/slash/server/profile"
"github.com/yourselfhosted/slash/store"
"github.com/yourselfhosted/slash/store/db"
@ -67,11 +66,6 @@ var (
return
}
if serverProfile.Metric {
// nolint
metric.NewMetricClient(s.Secret, *serverProfile)
}
c := make(chan os.Signal, 1)
// Trigger graceful shutdown on SIGINT or SIGTERM.
// The default signal sent by the `kill` command is SIGTERM,