This commit is contained in:
Mateusz Gruszczyński committed 2026-11-05 12:48:09 +01:00
1 parent 439cc20dcf
commit 722a49f6bc
14 files changed
+564 -283

No files matched your search

-2
View File
@@ -28,7 +28,6 @@ type Config struct {
TSQueryTimeout time.Duration
RRDTool string
RRDPath string
GraphDir string
StatsInterval time.Duration
// Per-IP rate limiting. Off by default -- see README "Rate limiting"
@@ -90,7 +89,6 @@ func Load() (Config, error) {
c.RRDTool = env("RRDTOOL", "rrdtool")
c.RRDPath = env("RRD_PATH", "/var/lib/ts3monolith/linuxiarz.rrd")
c.GraphDir = env("GRAPH_DIR", "/var/lib/ts3monolith/graphs")
c.StatsInterval, err = envDuration("STATS_INTERVAL", time.Minute)
if err != nil {
return c, err